Transmitter and segmentation method thereof

ABSTRACT

A transmitter is provided. The transmitter includes: a segmenter configured to segment information bits into a plurality of blocks based on one of a plurality of preset reference values; an outer encoder configured to encode each of the plurality of blocks to generate first parity bits; and a Low Density Parity Check (LDPC) encoder configured to encode each of the plurality of blocks and the first parity bits to generate an LDPC codeword including second parity bits, wherein the one of the preset reference values is determined depending on at least one of a code rate used to encode each of the plurality of blocks and the first parity bits and whether to perform repetition of at least a part of the LDPC codeword in the LDPC codeword.

CROSS-REFERENCE TO THE RELATED APPLICATIONS

This is a continuation of U.S. application Ser. No. 15/058,255 filed Mar. 2, 2016, which claims priority from Korean Patent Application No. 10-2015-0137189, filed on Sep. 27, 2015 and U.S. Provisional Application Nos. 62/126,927, 62/139,193 and 62/185,927 filed on Mar. 2, 2015, Mar. 27, 2015, and Jun. 29, 2015, respectively, the disclosures of which are incorporated herein by reference in their entirety.

BACKGROUND 1. Field

Apparatuses and methods consistent with the exemplary embodiments relate to a transmitter and a segmentation method thereof, and more particularly, to a transmitter and a segmentation method thereof capable of segmenting signaling.

2. Description of the Related Art

Broadcast communication services in information oriented society of the 21st century are entering an era of digitalization, multi-channelization, bandwidth broadening, and high quality. In particular, as a high definition digital television (TV) and portable broadcasting devices are widespread, digital broadcasting services have an increased demand for supporting various signal receiving schemes.

According to the demand, standard groups set up various standards to provide various services meeting the needs of users. Therefore, a method for providing better services to users with more excellent performance is required.

SUMMARY

The exemplary embodiments of the inventive concept may overcome disadvantages of the related art signal transmitter and receiver and methods thereof. However, these embodiments are not required to or may not overcome such disadvantages

The exemplary embodiments provide a transmitter and a segmentation method thereof capable of segmenting information bits such that the number of segmented information bits is equal to or less than a specific number.

According to an aspect an exemplary embodiment, there is provided a transmitter which may include: a segmenter configured to segment information bits into a plurality of blocks based on one of a plurality of preset reference values; an outer encoder configured to encode each of the plurality of blocks to generate first parity bits; and a Low Density Parity Check (LDPC) encoder configured to encode each of the plurality of blocks and the first parity bits to generate an LDPC codeword comprising second parity bits, wherein the one of the preset reference values is determined depending on at least one of a code rate used to encode each of the plurality of blocks and the first parity bits and whether to perform repetition of at least a part of the LDPC codeword in the LDPC codeword. Each of the preset reference values may be a threshold which is a maximum number of bits of each of the blocks can have according to at least one of the code rate and the condition of repetition.

According to an aspect of another exemplary embodiment, there is provided a segmentation method of a transmitter which may include: segmenting information bits into a plurality of blocks based on one of a plurality of preset reference values; encoding each of the plurality of blocks to generate first parity bits; and encoding each of the plurality of blocks and the first parity bits to generate a codeword including second parity bits, wherein the one of the preset reference values is determined depending on at least one of a code rate used to encode each of the plurality of blocks and the first parity bits and a condition of repetition of at least a part of the codeword in the codeword.

As described above, according to various exemplary embodiments, the information bits may be segmented to be equal to or less than a specific number to satisfy a required performance for encoding the information bits.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and/or other aspects of the inventive concept will be described herebelow with reference to the accompanying drawings, in which:

FIG. 1 is a block diagram for describing a configuration of a transmitter, according to an exemplary embodiment;

FIG. 2 is a diagram for describing a segmentation method, according to an exemplary embodiment;

FIGS. 3 and 4 are diagrams for describing parity check matrices, according to exemplary embodiments;

FIG. 5 is a diagram for describing a method for setting a preset reference value, according to an exemplary embodiment;

FIG. 6 is a diagram for describing a segmentation method, according to an exemplary embodiment;

FIG. 7 is a diagram for describing a frame structure, according to an exemplary embodiment;

FIGS. 8 and 9 are block diagrams for describing detailed configurations of a transmitter, according to exemplary embodiments;

FIGS. 10 to 23 are diagrams for describing methods for processing signaling, according to exemplary embodiments;

FIGS. 24 and 25 are block diagrams for describing configurations of a receiver, according to exemplary embodiments;

FIGS. 26 and 27 are diagrams for describing examples of combining Log likelihood Ratio (LLR) values of a receiver, according to exemplary embodiments;

FIG. 28 is a diagram illustrating an example of providing information on a length of L1 signaling, according to an exemplary embodiment; and

FIG. 29 is a flow chart for describing a segmentation method, according to an exemplary embodiment.

DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS

Hereinafter, exemplary embodiments of the inventive concept will be described in more detail with reference to the accompanying drawings.

FIG. 1 is a block diagram for describing a configuration of a transmitter according to an exemplary embodiment.

Referring to FIG. 1, a transmitter 100 includes a segmenter 110, an outer encoder 120, and a Low Density Parity Check (LDPC) encoder 130.

The segmenter 100 segments information bits input to the transmitter 100 into a plurality of blocks (or bit blocks).

Here, the information bits may be signaling (alternatively referred to as “signaling bits” or “signaling information”). The information bits may include information required for a receiver 200 (as illustrated in FIG. 24 or 25) to receive and process data or service data (for example, broadcasting data) transmitted from the transmitter 100.

Hereinafter, for convenience of explanation, a case in which the information bits are the signaling will be described.

In detail, the transmitter 100 may perform outer encoding on the signaling to generate parity bits (or parity check bits), and perform inner encoding on the outer encoded bits including the signaling and the parity bits generated by the outer encoding.

Here, the outer coding is a coding operation which is performed before inner coding in a concatenated coding operation, and may use various encoding schemes such as Bose, Chaudhuri, Hocquenghem (BCH) encoding and/or cyclic redundancy check (CRC) encoding. In this case, as an inner code for the inner coding such as LDPC encoding, an LDPC code may be used.

For LDPC encoding, a specific number of LDPC information bits depending on a code rate and a code length are required. However, when the number of signaling bits varies, the number of outer encoded bits may be greater than the number of LDPC information bits for the LDPC encoding.

Therefore, the segmenter 110 may segment the signaling into a plurality of blocks when the number of signaling bits is greater than a preset value to prevent the number of outer encoded bits from being greater than the number of the required LDPC information bits.

Hereinafter, a detailed method for segmenting the signaling will be described with reference to FIG. 2.

As described above, when the number of signaling bits varies, segmentation is required in some cases and the signaling is encoded to be transmitted to the receiver 200, such that at least one forward error correction (FEC) frame is required to transmit all signaling bits. Here, the FEC frame may mean a form in which the signaling is encoded to be added with parity bits.

In detail, when the signaling is not segmented, the signaling is outer-encoded and LDPC-encoded to generate one FEC frame, and therefore, one FEC frame is required for the signaling transmission. However, when the signaling is segmented into at least two, these segmented signalings each are outer-encoded and LDPC-encoded to generate at least two FEC frames, and therefore, at least two FEC frames are required for transmission of the signaling.

Therefore, the segmenter 110 calculates the number of FEC frames N_(L1D_FECFRAME) for the signaling based on following Equation 1 or 2.

$\begin{matrix} {N_{L\; 1D\;\_\;{FECFRAME}} = \left\{ \begin{matrix} 1 & {{{if}\mspace{14mu} K_{L\; 1D\;\_\;{ex}\;\_\;{pad}}} \leq K_{seg}} \\ \left\lceil \frac{K_{L\; 1D\;\_\;{ex}\;\_\;{pad}}}{K_{seg}} \right\rceil & {otherwise} \end{matrix} \right.} & (1) \\ {N_{L\; 1D\;\_\;{FECFRAME}} = \left\lceil \frac{K_{L\; 1D\;\_\;{ex}\;\_\;{pad}}}{K_{seg}} \right\rceil} & (2) \end{matrix}$

In above Equations 1 and 2, [x] represents a minimum integer which is equal to or greater than x. Further, K_(L1D_ex_pad) represents a length of the signaling except padding bits (that is, the number of the signaling bits).

K_(seg) represents a threshold number defined for the segmentation, and the number of bits of a segmented signaling (that is, a segment of the signaling) does not exceed K_(seg).

In this case, K_(seg) may be set to a plurality of preset reference values.

Here, the plurality of preset values may be determined depending on an LDPC code rate and whether to perform repetition of bits. For example, K_(seg) may be set to 2352, 3072 or 6312. The repetition means that parity bits generated by LDPC encoding, that is, the LDPC parity bits are repeated in an LDPC codeword. When the repetition is performed, the LDPC codeword with repetition may be formed of the LDPC information bits, the parity bits generated by the LDPC encoding, and the repeated parity bits. The foregoing example describes that only the LDPC parity bits are repeated, but at least another part of the LDPC codeword bits may also be repeated.

Therefore, the segmenter 110 may select one of the plurality of preset reference values and segment the signaling based on the selected reference value. That is, the segmenter 110 may calculate the number N_(L1D_FECFRAME) of FEC frames for the signaling based on the selected reference value.

When the LDPC code rate is 3/15 and the LDPC parity bits are repeated, the segmenter 110 may segment the signaling based on K_(seg)=2352.

When the LDPC code rate is 3/15 and the LDPC parity bits are not repeated, the segmenter 110 may segment the signaling based on K_(seg)=3072.

When the code rate is 6/15 and the LDPC parity bits are not repeated, the segmenter 110 may segment the signaling based on K_(seg)=6312.

Meanwhile, a mode for the transmitter 100 to process the signaling may be set in advance. That is, the K_(seg) value, the code rate of the LDPC code, whether to perform the repetition, and the like which are used for segmenting the signaling may be set in advance.

Further, the segmenter 110 calculates the number of padding bits (or, length of a padding field). In detail, the segmenter 110 may calculate the number K_(L1D_PAD) of padding bits for the signaling based on following Equation 3.

$\begin{matrix} {K_{L\; 1D\;\_\;{PAD}} = {{\left\lceil \frac{K_{L\; 1D\;\_\;{ex}\;\_\;{pad}}}{\left( {N_{L\; 1D\;\_\;{FECFRAME}} \times 8} \right)} \right\rceil \times 8 \times N_{L\; 1D\;\_\;{FECFRAME}}} - K_{L\; 1D\;\_\;{ex}\;\_\;{pad}}}} & (3) \end{matrix}$

Further, the segmenter 110 may fill the padding field with K_(L1D_PAD) number of zero bits (that is, bits having a 0 value). Therefore, the K_(L1D_PAD) zero bits may be added to the signaling, such that as illustrated in FIG. 2, all the signalings may be formed of signaling and the padding bits.

As such, the number of padding bits are calculated and the zero bits are padded to the padding field as many as the calculated number, and thus, the signalings, that is, a plurality of signaling blocks, may each be formed of the same number of bits.

Next, the segmenter 110 may calculate a total length K_(L1D) of all signalings including the padding bits based on following Equation 4. K _(L1D) =K _(L1D_ex_pad) +K _(L1D_PAD)  (4)

That is, the segmenter 110 may sum the number of signaling bits and the number of padding bits to calculate the total length of all signalings including the padding bits.

Further, the segmenter 110 may calculate the number K_(sig) of signaling bits in each of the N_(L1D_FECFRAME) signaling blocks based on following Equation 5.

$\begin{matrix} {K_{sig} = \frac{K_{L\; 1D}}{N_{L\; 1D\;\_\;{FECFRAME}}}} & (5) \end{matrix}$

Next, the segmenter 110 may segment the signaling based on K_(sig). In detail, as illustrated in FIG. 2, the segmenter 110 may segment the signaling as many as the K_(sig) bit number to segment the signaling into the N_(L1D_FECFRAME) blocks.

In detail, since zero bits are disposed at an end portion of the signaling, the signaling is sequentially segmented by the K_(sig) bit number to constitute a first block through to an (N_(L1D_FECFRAME)−1)-th block. Further, the remaining signaling portion left after the signaling is sequentially segmented by the K_(sig) bit number configure an N_(L1D_FECFRAME)-th block along with padding bits.

As such, the segmenter 110 may segment the signaling into a plurality of blocks based on one of a plurality of preset reference values.

That is, the segmenter 110 may calculate the N_(L1D_FECFRAME) based on one of K_(seg)=2352, K_(seg)=3072, and K_(seg)=6312, calculate K_(sig) based on the N_(L1D_FECFRAME), and segment the signaling into the N_(L1D_FECFRAME) blocks so that each block is formed of the K_(sig) bits.

The outer encoder 120 encodes the plurality of blocks to generate parity bits (or parity check bits). In this case, the outer encoder 120 may encode the plurality of blocks, respectively, to generate the parity bits corresponding to the plurality of blocks, respectively.

For example, the outer encoder 120 may perform outer encoding on each of the blocks which is formed of the K_(sig) bits to generate M_(outer) parity bits and add the parity bits to the bits configuring each block to output the outer-encoded bits formed of N_(outer)(=K_(sig)+M_(outer)) bits.

However, for convenience of explanation, the outer encoding will be described below under an assumption that it is performed by a BCH code.

That is, the BCH encoder 120 may perform encoding, that is, BCH encoding on the plurality of blocks, respectively, to generate the parity bits, that is, BCH parity-check bits (or, BCH parity bits) corresponding to the plurality of blocks, respectively.

For example, the BCH encoder 120 may systematically encode the blocks each being formed of the K_(sig) bits to generate M_(outer) BCH parity check bits and add the BCH parity bits to the bits configuring each block to output the BCH-encoded bits formed of N_(outer)(K_(sig)+M_(outer)) bits. Here, M_(outer)=168.

The LDPC encoder 130 performs encoding, that is, LDPC encoding on the plurality of blocks and the parity bits to generate parity bits, that is, LDPC parity bits. That is, the LDPC encoder 130 may perform the LDPC encoding on the BCH-encoded bits including the BCH parity check bits in each of the plurality of blocks to generate the LDPC parity bits corresponding to each of the plurality of blocks.

For LDPC encoding, a specific number of LDPC information bits depending on a code rate and a code length is required. Therefore, when the number of BCH-encoded bits generated by performing the BCH encoding on the signaling or the segmented signaling is less than the number of required LDPC information bits, the transmitter 100 may pad an appropriate number of zero bits (that is, bits having a 0 value) to obtain the number of required LDPC information bits. Therefore, the BCH encoded bits and the padded zero bits may configure the LDPC information bits. Here, the number K_(ldpc) of LDPC information bits for the LDPC encoding is 3240 or 6480.

For example, when the number N_(outer)(=K_(sig)+M_(outer)) of BCH encoded bits is less than the number K_(ldpc) of LDPC information bits of the LDPC code, the transmitter 100 may pad the K_(ldpc)−N_(outer) zero bits to some of the LDPC information bits to generate the LDPC information bits formed of K_(ldpc) bits. Therefore, the K_(ldpc) LDPC information bits may be formed of the N_(outer) BCH encoded bits and the K_(ldpc)−N_(outer) zero bits.

Here, the number K_(ldpc) of LDPC information bits of the LDPC code may be 3240 or 6480.

Since the padded zero bits are bits required to obtain the specific number of bits for the LDPC encoding, the padded zero bits are removed after being LDPC-encoded so that these zero bits are not transmitted to the receiver 200. As such, a procedure of padding the zero bits or a procedure of padding the zero bits and then not transmitting the padded zero bits to the receiver 200 may be referred to as shortening. In this case, the padded zero bits may be referred to as shortening bits (or shortened bits).

However, when the number of BCH encoded bits generated by performing the BCH encoding on the signaling or the segmented signaling is equal to the number of required LDPC information bits, the transmitter 100 may not pad zero bits and the LDPC information bits may be formed of only the BCH encoded bits without zero bits.

Meanwhile, the foregoing example describes that BCH encoding is performed on the signaling. Here, the BCH code is only an example of the outer code. That is, the transmitter 100 may also encode the signaling using various codes such as the BCH code and/or a CRC code.

Further, the foregoing example describes that the information bits are outer-encoded, which is only one example. That is, the information bits may not be outer-encoded to configure the LDPC information bits along with the padded zero bits or only the information bits may configure the LDPC information bits without being padded.

The foregoing example describes that zero bits, which will be shortened, are padded, which is only one example. That is, since zero bits are bits having a value preset by the transmitter 100 and the receiver 200 and padded only to form LDPC information bits along with information bits including information to be substantially transmitted to the receiver 200, bits having another value (for example, 1) preset by the transmitter 100 and the receiver 200 instead of zero bits may be padded for shortening.

The LDPC encoder 130 may systematically encode LDPC information bits to generate LDPC parity bits, and output an LDPC codeword (or LDPC-encoded bits) formed of the LDPC information bits and the LDPC parity bits. That is, the LDPC code is a systematic code, and therefore, the LDPC codeword may be formed of the LDPC information bits before being LDPC-encoded and the LDPC parity bits generated by the LDPC encoding.

For example, the LDPC encoder 110 may LDPC-encode K_(ldpc) LDPC information bits i=(i₀, i₁, . . . , i_(K) _(ldpc) ⁻¹) to generate N_(ldpc_parity) LDPC parity bits (p₀, p₁, . . . , p_(N) _(inner) _(−K) _(ldpc) ⁻¹p_(N) _(ldpc) _(−K) _(ldpc) ⁻¹) and output an LDPC codeword Λ=(c₀, c₁, . . . , c_(N) _(inner) ⁻¹)=(i₀, i₁, . . . , i_(K) _(ldpc) ⁻¹, p₀, p₁, . . . , p_(N) _(inner) _(−K) _(ldpc) ⁻¹) formed of N_(inner)(=K_(ldpc)+N_(ldpc_parity)) bits.

In this case, the LDPC encoder 130 may perform the LDPC encoding on the input bits (i.e., LDPC information bits) at various code rates to generate an LDPC codeword having a predetermined length.

For example, the LDPC encoder 130 may perform LDPC encoding on 3240 LDPC information bits at a code rate of 3/15 to generate the LDPC codeword formed of 16200 bits. As another example, the LDPC encoder 130 may perform the LDPC encoding on 6480 LDPC information bits at a code rate of 6/15 to generate an LDPC codeword formed of 16200 bits.

A process of performing LDPC encoding is a process of generating an LDPC codeword to satisfy H·C^(T)=0, and thus, the LDPC encoder 130 may use a parity check matrix to perform the LDPC encoding. Here, H represents the parity check matrix and C represents the LDPC codeword.

Hereinafter, a structure of the parity check matrix according to various exemplary embodiments will be described with reference to the accompanying drawings. In the parity check matrix, elements of a portion other than 1 are 0.

As one example, the parity check matrix according to an exemplary embodiment may have a structure as illustrated in FIG. 3.

Referring to FIG. 3, a parity check matrix 20 may be formed of five sub-matrices A, B, C, Z and D. Hereinafter, for describing the structure of the parity check matrix 20, each matrix structure will be described.

The sub-matrix A is formed of K columns and g rows, and the sub-matrix C is formed of K+g columns and N−K−g rows. Here, K (or K_(ldpc)) represents a length of LDPC information bits and N (or N_(inner)) represents a length of an LDPC codeword.

Further, in the sub-matrices A and C, indexes of a row in which 1 is positioned in a 0-th column of an i-th column group may be defined based on Table 1 when the length of the LDPC codeword is 16200 and the code rate is 3/15. The number of columns belonging to a same column group may be 360.

TABLE 1 8 372 841 4522 5253 7430 8542 9822 10550 11896 11988 80 255 667 1511 3549 5239 5422 5497 7157 7854 11267 257 406 792 2916 3072 3214 3638 4090 8175 8892 9003 80 150 346 1883 6838 7818 9482 10366 10514 11468 12341 32 100 978 3493 6751 7787 8496 10170 10318 10451 12561 504 803 856 2048 6775 7631 8110 8221 8371 9443 10990 152 283 696 1164 4514 4649 7260 7370 11925 11986 12092 127 1034 1044 1842 3184 3397 5931 7577 11898 12339 12689 107 513 979 3934 4374 4658 7286 7809 8830 10804 10893 2045 2499 7197 8887 9420 9922 10132 10540 10816 11876 2932 6241 7136 7835 8541 9403 9817 11679 12377 12810 2211 2288 3937 4310 5952 6597 9692 10445 11064 11272

Hereinafter, positions (alternatively referred to as “indexes” or “index values”) of a row in which 1 is positioned in the sub-matrices A and C will be described in detail with reference to, for example, Table 1.

When the length of an LDPC codeword is 16,200 and the code rate is 3/15, coding parameters M₁, M₂, Q₁ and Q₂ based on the parity check matrix 200 each are 1080, 11880, 3 and 33.

Here, Q₁ represents a size at which columns belonging to a same column group in the sub-matrix A are cyclic-shifted, and Q₂ represents a size at which columns belonging to a same column group in the sub-matrix C are cyclic-shifted.

Further, Q₁=M₁/L, Q₂=M₂/L, M₁=g, M₂=N−K−g and L represents an interval at which patterns of a column are repeated in the sub-matrices A and C, respectively, that is, the number (for example, 360) of columns belonging to a same column group.

The indexes of the row in which 1 is positioned in the sub-matrices A and C, respectively, may be determined based on an M₁ value.

For example, in above Table 1, since M₁=1080, the position of a row in which 1 is positioned in a 0-th column of an i-th column group in the sub-matrix A may be determined based on values less than 1080 among index values of above Table 1, and the position of a row in which 1 is positioned in a 0-th column of an i-th column group in the sub-matrix C may be determined based.

In detail, a sequence corresponding to a 0-th column group in above Table 1 is “8 372 841 4522 5253 7430 8542 9822 10550 11896 11988”. Therefore, in a 0-th column of a 0-th column group in the sub-matrix A, 1 may be positioned in an eighth row, a 372-th row, and an 841-th row, respectively, and in a 0-th column of a 0-th column group in the sub-matrix C, 1 may be positioned in a 4522-th row, a 5253-th row, a 7430-th row, an 8542-th row, a 9822-th row, a 10550-th row, a 11896-th row, and a 11988-row, respectively.

In the sub-matrix A, when the position of 1 is defined in a 0-th columns of each column group, it may be cyclic-shifted by Q₁ to define a position of a row in which 1 is positioned in other columns of each column group, and in the sub-matrix C, when the position of 1 is defined in a 0-th columns of each column group, it may be cyclic-shifted by Q₂ to define a position of a row in which 1 is positioned in other columns of each column group.

In the foregoing example, in the 0-th column of the 0-th column group in the sub-matrix A, 1 is positioned in an eighth row, a 372-th row, and an 841-th row. In this case, since Q₁=3, indexes of a row in which 1 is positioned in a first column of the 0-th column group may be 11(=8+3), 375(=372+3), and 844(=841+3) and indexes of a row in which 1 is positioned in a second column of the 0-th column group may be 14(=11+3), 378(=375+3), and 847(=844+3).

In a 0-th column of a 0-th column group in the sub-matrix C, 1 is positioned in a 4522-th row, a 5253-th row, a 7430-th row, an 8542-th row, a 9822-th row, a 10550-th row, a 11896-th row, and a 11988-th row. In this case, since Q₂=33, the indexes of the row in which 1 is positioned in a first column of the 0-th column group may be 4555(=4522+33), 5286(=5253+33), 7463(=7430+33), 8575(=8542+33), 9855(=9822+33) 10583(=10550+33), 11929(=11896+33), and 12021(=11988+33) and the indexes of the row in which 1 is positioned in a second column of the 0-th column group may be 4588(=4555+33), 5319(=5286+33), 7496(=7463+33), 8608(=8575+33), 9888(=9855+33), 10616(=10583+33), 11962(=11929+33), and 12054(=12021+33).

According to the scheme, the positions of the row in which 1 is positioned in all the column groups in the sub-matrices A and C may be defined.

The sub-matrix B is a dual diagonal matrix, the sub-matrix D is an identity matrix, and the sub-matrix Z is a zero matrix.

As a result, the structure of the parity check matrix 20 as illustrated in FIG. 2 may be defined by the sub-matrices A, B, C, D and Z having the above structure.

Hereinafter, a method for performing, by the LDPC encoder 130, LDPC encoding based on the parity check matrix 20 as illustrated in FIG. 3 will be described.

An LDPC code may be used to encode an information block S=(s₀, s₁, . . . , s_(K−1)). In this case, to generate an LDPC codeword Λ=(λ₀, λ₁, . . . , λ_(N-1)) having a length of N=K+M₁+M₂, parity blocks P=(p₀, p₁, . . . , p_(M) ₁ _(+M) ₂ ⁻¹) from the information block S may be systematically encoded.

As a result, the LDPC codeword may be Λ=(s₀, s₁, . . . , s_(K−1), p₀, p₁, . . . , p_(M) ₁ _(+M) ₂ ⁻¹).

Here, M₁ and M₂ each represent a size of parity sub-matrices corresponding to the dual diagonal sub-matrix B and the identity matrix sub-D, respectively, in which M₁=g and M₂=N−K−g.

A process of calculating parity bits may be represented as follows. Hereinafter, for convenience of explanation, a case in which the parity check matrix 20 is defined as above Table 1 will be described as one example.

Step 1) λ_(i) is initialized to be s_(i) (i=0, 1, . . . , K−1) and p_(j) is initialized to be 0 (j=0, 1, . . . , M₁+M₂−1).

Step 2) A first information bit λ₀ is accumulated in a parity bit address defined in the first row of above Table 1.

Step 3) For the next L−1 information bits λ_(m) (m=1, 2, . . . , L−1), λ_(m) is accumulated in the parity bit address calculated based on following Equation 6. (x+m×Q ₁)mod M ₁ (if x<M ₁) M ₁+{(x−M ₁ +m×Q ₂)mod M ₂} (if x≥M ₁)  (6)

In above Equation 6, x represents an address of a parity bit accumulator corresponding to a first information bit λ₀.

Further, Q₁=M₁/L and Q₂=M₂/L. In this case, since the length of the LDPC codeword is 16200 and the code rate is 3/15, M₁=1080, M₂=11880, Q₁=3, Q₂=33, L=360.

Step 4) Since the parity bit address like the second row of above Table 1 is given to an L-th information bit λ_(L), similar to the foregoing scheme, the parity bit address for next L−1 information bits λ_(m) (m=L+1, L+2, . . . 2L−1) is calculated by the scheme described in the above step 3. In this case, x represents the address of the parity bit accumulator corresponding to the information bit λ_(L) and may be obtained based on the second row of above Table 1.

Step 5) For L new information bits of each group, the new rows of above Table 1 are set as the address of the parity bit accumulator, and thus, the foregoing process is repeated.

Step 6) After the foregoing process is repeated from the codeword bit λ₀ to λ_(K−1), a value for following Equation 7 is sequentially calculated from i=1. P _(i) =P _(i) ⊕P _(i−1)(i=1,2, . . . M ₁−1)  (7)

Step 7) The parity bits λ_(K) to λ_(K+M) _(i) ⁻¹ corresponding to the dual diagonal sub-matrix B are calculated based on following Equation 8. λ_(K+L×t+s) =P _(Q) ₁ _(×s+t)(0≤s<L,0≤t<Q ₁)  (8)

Step 8) The address of the parity bit accumulator for the L new codeword bits λ_(K) to λ_(K+M) ₁ ⁻¹ of each group is calculated based on the new row of above Table 1 and above Equation 6.

Step 9) After the codeword bits λ_(K) to λ_(K+M) ₁ ⁻¹ are applied, the parity bits λ_(K+M) ₁ to λ_(K+M) ₁ _(+M) ₂ ⁻¹ corresponding to the sub-matrix D are calculated based on following Equation 9. λ_(K+M) ₁ +L×t×s=p _(M) ₁ _(+Q) ₂ _(×s+t)(0≤s<L,0≤t<Q ₂)  (9)

As a result, the parity bits may be calculated by the above scheme. However, this is only one example and therefore the scheme for calculating the parity bits based on the parity check matrix as illustrated in FIG. 3 may be variously defined.

As such, the LDPC encoder 130 may perform the LDPC encoding based on above Table 1 to generate the LDPC codeword.

In detail, the LDPC encoder 130 may perform the LDPC encoding on 3240 input bits, that is, the LDPC information bits at the code rate of 3/15 based on above Table 1 to generate 12960 LDPC parity bits and output the LDPC codeword formed of the LDPC information bits and the LDPC parity bits. In this case, the LDPC codeword may be formed of 16200 bits.

As another example, the parity check matrix according to an exemplary embodiment may have a structure as illustrated in FIG. 4.

Referring to FIG. 4, a parity check matrix 40 is formed of an information sub-matrix 41 which is a sub-matrix corresponding to the information bits (that is, LDPC information bits) and a parity sub-matrix 42 which is a sub-matrix corresponding to the parity bits (that is, LDPC parity bits).

The information sub-matrix 41 includes K_(ldpc) columns and the parity sub-matrix 42 includes N_(ldpc_parity)=N_(inner)−K_(ldpc) columns. The number of rows of the parity check matrix 40 is equal to the number N_(ldpc_parity)=N_(inner)−K_(ldpc) of columns of the parity sub-matrix 42.

Further, in the parity check matrix 40, N_(inner) represents the length of the LDPC codeword, K_(ldpc) represents the length of the information bits, and N_(ldpc_parity)=N_(inner)−K_(ldpc) represents the length of the parity bits.

Hereinafter, the structures of the information sub-matrix 41 and the parity sub-matrix 42 will be described.

The information sub-matrix 41 is a matrix including the K_(ldpc) columns (that is, 0-th column to (K_(ldpc)−1)-th column) and depends on the following rule.

First, the K_(ldpc) columns configuring the information sub-matrix 41 belong to the same group by M numbers and are divided into a total of K_(ldpc)/M column groups. The columns belonging to the same column group have a relationship that they are cyclic-shifted by Q_(ldpc) from one another. That is, Q_(ldpc) may be considered as a cyclic shift parameter values for columns of the column group in the information sub-matrix configuring the parity check matrix 40.

Here, M represents an interval (for example, M=360) at which the pattern of columns in the information sub-matrix 41 is repeated and Q_(ldpc) is a size at which each column in the information sub-matrix 41 is cyclic-shifted. M is a common divisor of N_(inner) and K_(ldpc), and is determined so that Q_(ldpc)=(N_(inner)−K_(ldpc))/M is established. Here, M and Q_(ldpc) are integers and K_(ldpc)/M also becomes an integer. M and Q_(ldpc) may have various values depending on the length of the LDPC codeword and the code rate.

For example, when M=360, the length N_(inner) of the LDPC codeword is 16200, and the code rate is 6/15, Q_(ldpc) may be 27.

Second, if a degree (herein, the degree is the number of values is positioned in a column and the degrees of all columns belonging to a same column group are the same) of a 0-th column of an i-th (i=0, 1, . . . , K_(ldpc)/M−1) column group is set to be D_(i) and positions (or index) of each row in which 1 is positioned in the 0-th column of the i-th column group is set to be R_(i,0) ⁽⁰⁾, R_(i,0) ⁽¹⁾, . . . , R_(i,0) ^((D) ^(i) ⁻¹⁾, an index R_(i,j) ^((k)) of a row in which a k-th 1 is positioned in a j-th column in the i-th column group is determined based on following 10. R _(i,j) ^((k)) =R _(i,(j−1)) ^((k)) +Q _(ldpc) mod(N _(inner) −K _(ldpc))  (10)

In above Equation 10, k=0, 1, 2, . . . , D_(i)−1; i=0, 1, . . . , K_(ldpc)/M−1; j=1, 2, . . . , M−1.

Above Equation 10 may be represented like following Equation 11. R _(i,j) ^((k))=(R _(i,0) ^((k))+(j mod M)×Q _(ldpc))mod(N _(inner) −K _(ldpc))  (11)

In above Equation 111, k=0, 1, 2, . . . , D₁−1; i=0, 1, . . . , K_(ldpc)/M−1; j=1, 2, . . . , M−1. In above Equation 11, since j=1, 2, . . . , M−1, (j mod M) may be considered as j.

In these Equations, R_(i,j) ^((k)) represents the index of a row in which a k-th 1 is positioned in a j-th column in an i-th column group, N_(inner) represents the length of an LDPC codeword, K_(ldpc) represents the length of information bits, D_(i) represents the degree of columns belonging to the i-th column group, M represents the number of columns belonging to one column group, and Q_(ldpc) represents the size at which each column is cyclic-shifted.

As a result, referring to the above Equations, if a R_(i,0) ^((k)) value is known, the index R_(i,j) ^((k)) of the row in which the k-th 1 is positioned in the j-th column in the i-th column group may be known. Therefore, when the index value of the row in which the k-th 1 is positioned in a 0-th columns of each column group is stored, the positions of the column and the row in which 1 is positioned in the parity check matrix 40 (that is, information sub-matrix 41 of the parity check matrix 40) having the structure of FIG. 4 may be checked.

According to the foregoing rules, all degrees of columns belonging to the i-th column group are D_(i). Therefore, according to the foregoing rules, an LDPC code in which the information on the parity check matrix is stored may be briefly represented as follows.

For example, when N_(inner) is 30, K_(ldpc) is 15, and Q_(ldpc) is 3, positional information of the row in which 1 is positioned in 0-th columns of three column groups may be represented by sequences as following Equation 12, which may be named ‘weight−1 position sequence’. R _(1,0) ⁽¹⁾=1,R _(1,0) ⁽²⁾=2,R _(1,0) ⁽³⁾=8,R _(1,0) ⁽⁴⁾=10, R _(2,0) ⁽¹⁾=0,R _(2,0) ⁽²⁾=9,R _(2,0) ⁽³⁾=13, R _(3,0) ⁽¹⁾=0,R _(3,0) ⁽²⁾=14.  (12)

In above Equation 12, R_(i,j) ^((k)) represents the indexes of the row in which the k-th 1 is positioned in the j-th column of the i-th column group.

The weight−1 position sequences as above Equation 12 representing the index of the row in which 1 is positioned in the 0-th columns of each column group may be more briefly represented as following Table 2.

TABLE 2 1 2 8 10 0 9 13 0 14

Above Table 2 represents positions of elements having 1 value in the parity check matrix and the i-th weight−1 position sequence is represented by the indexes of the row in which 1 is positioned in the 0-th column belonging to the i-th column group.

The information sub-matrix 41 of the parity check matrix according to the exemplary embodiment described above may be defined based on following Table 3.

Here, following Table 3 represents the indexes of the row in which 1 is positioned in a 0-th column of an i-th column group in the information sub-matrix 31. That is, the information sub-matrix 31 is formed of a plurality of column groups each including M columns and the positions of is in the 0-th columns of each of the plurality of column groups may be defined as following Table 3.

For example, when the length N_(inner) of the LDPC codeword is 16200, the code rate is 6/15, and the M is 360, the indexes of the row in which 1 is positioned in the 0-th column of the i-th column group in the information sub-matrix 41 are as following Table 3.

TABLE 3 27 430 519 828 1897 1943 2513 2800 2640 3310 3415 4265 5044 5100 5328 5483 5923 6204 6392 6416 6602 7019 7415 7623 8112 8485 8724 8994 9445 9567 27 174 188 631 1172 1427 1779 2217 2270 2601 2813 3196 3582 3895 3908 3948 4463 4955 5120 5809 5988 6478 6604 7096 7673 7735 7795 8925 9613 9670 27 370 617 852 910 1030 1326 1521 1606 2118 2248 2909 3214 3413 3623 3742 3752 4317 4894 5300 5687 6039 6100 6232 6491 6621 6800 7304 8542 8634 990 1753 7635 8540 953 1415 5666 8745 27 6567 8707 9216 2341 8692 9580 9615 260 1092 5839 6280 352 3750 4847 7726 4610 6580 9506 9697 2512 2974 4814 9348 1461 4021 5060 7009 1796 2883 5553 8306 1249 5477 7057 3955 6968 9422 1498 7931 5097 27 1090 6215 26 4232 6354

According to another exemplary embodiment, a parity check matrix in which an order of indexes in each sequence corresponding to each column group in above Table 3 is changed is considered as a same parity check matrix for an LDPC code as the above described parity check matrix is another example of the inventive concept.

According to still another exemplary embodiment, a parity check matrix in which an array order of the sequences of the column groups in above Table 3 is changed is also considered as a same parity check matrix as the above described parity check matrix in that they have a same algebraic characteristics such as cycle characteristics and degree distributions on a graph of a code.

According to yet another exemplary embodiment, a parity check matrix in which a multiple of Q_(ldpc) is added to all indexes of a sequence corresponding to column group in above Table 3 is also considered as a same parity check matrix as the above described parity check matrix in that they have a same cycle characteristics and degree distributions on the graph of the code. Here, it is to be noted that when a value obtained by adding the multiple of Q_(ldpc) to a given sequence is equal to or more than N_(inner)−K_(ldpc), the value needs to be changed into a value obtained by performing a modulo operation on the N_(inner)−K_(ldpc) and then applied.

If the position of the row in which 1 is positioned in the 0-th column of the i-th column group in the information sub-matrix 41 as shown in above Table 3 is defined, it may be cyclic-shifted by Q_(ldpc), and thus, the position of the row in which 1 is positioned in other columns of each column group may be defined.

For example, as shown in above Table 3, since the sequence corresponding to the 0-th column of the 0-th column group of the information sub-matrix 41 is “27 430 519 828 1897 1943 2513 2600 2640 3310 3415 4266 5044 5100 5328 5483 5928 6204 6392 6416 6602 7019 7415 7623 8112 8485 8724 8994 9445 9667”, in the 0-th column of the 0-th column group in the information sub-matrix 41, 1 is positioned in a 27-th row, a 430-th row, a 519-th-row, . . . .

In this case, since Q_(ldpc)=(N_(inner)−K_(ldpc))/M=(16200−6480)/360=27, the indexes of the row in which 1 is positioned in the first column of the 0-th column group may be 54(=27+27), 457(=430+27), 546(=519+27), 81(=54+27), 484(=457+27), 573(=546+27), . . . .

By the above scheme, the indexes of the row in which 1 is positioned in all the rows of each column group may be defined.

Hereinafter, the method for performing LDPC encoding based on the parity check matrix 40 as illustrated in FIG. 4 will be described.

First, information bits to be encoded are set to be i₀, i_(i), . . . , i_(K) _(ldpc) ⁻¹, and code bits output from the LDPC encoding are set to be c₀, c₁, . . . , c_(N) _(inner) ⁻¹.

Further, since an LDPC code is systematic, fork (0≤k<K_(ldpc)−1), c_(k) is set to be i_(k). The remaining code bits are set to be p_(k):=c_(k+k) _(ldpc) .

Hereinafter, a method for calculating parity bits p_(k) will be described.

Hereinafter, q(i,j,0) represents a j-th entry of an i-th row in an index list as above Table 3, and q(i,j,1) is set to be q(i,j,1)=q(i, j, 0)+Q_(ldpc)×1 (mod N_(inner)−K_(ldpc)) for 0<i<360. All the accumulations may be realized by additions in a Galois field (GF) (2). Further, in above Table 3, since the length of the LDPC codeword is 16200 and the code rate is 6/15, the Q_(ldpc) is 27.

When the q(i,j,0) and the q(i,j,1) are defined as above, a process of calculating the parity bit is as follows.

Step 1) The parity bits are initialized to ‘0’. That is, p_(k)=0 for 0≤k<N_(inner)−K_(ldpc).

Step 2) For all k values of 0≤k<K_(ldpc), i and l are set to be i:=└k/360┘ and l:=k (mod 360). Here, └x┘ is a maximum integer which is not greater than x.

Next, for all i, i_(k) is accumulated in p_(q(i,j,1)). That is, p_(q(i,0,1))=p_(q(i,0,1))+i_(k),p_(q(i,1,l))=p_(q(i,1,l))+i_(k),p_(q(i,2,l))=p_(q(i,2,l))+i_(k), . . . , p_(q(i,w(i)−1,l))=p_(q(i,w(i)−1,l))+i_(k) are calculated.

Here, w(i) represents the number of the values (elements) of an i-th row in the index list as above Table 3 and represents the number of is in a column corresponding to i_(k) in the parity check matrix. Further, in above Table 3, q(i, j, 0) which is a j-th entry of an i-th row is an index of a parity bit and represents the position of the row in which 1 is positioned in a column corresponding to i_(k) in the parity check matrix.

In detail, in above Table 3, q(i,j,0) which is the j-th entry of the i-th row represents the position of the row in which 1 is positioned in the first (that is, 0-th) column of the i-th column group in the parity check matrix of the LDPC code.

The q(i, j, 0) may also be considered as the index of the parity bit to be generated by LDPC encoding according to a method for allowing a real apparatus to implement a scheme for accumulating i_(k) in p_(q(i,j,l)) for all i, and may also be considered as an index in another form when another encoding method is implemented. However, this is only one example, and therefore, it is apparent to obtain an equivalent result to an LDPC encoding result which may be obtained from the parity check matrix of the LDPC code which may basically be generated based on the q(i,j,0) values of above Table 3 whatever the encoding scheme is applied.

Step 3) A parity bit p_(k) is calculated by calculating p_(k)=p_(k)+p_(k−1) for all k satisfying 0<k<N_(inner)−K_(ldpc).

Accordingly, all code bits c₀, c₁, . . . c_(N) _(inner) ⁻¹ may be obtained.

As a result, parity bits may be calculated by the above scheme. However, this is only one example, and therefore, the scheme for calculating the parity bits based on the parity check matrix as illustrated in FIG. 4 may be variously defined.

As such, the LDPC encoder 130 may perform LDPC encoding based on above Table 3 to generate an LDPC codeword.

In detail, the LDPC encoder 130 may perform the LDPC encoding on 6480 input bits, that is, the LDPC information bits at the code rate of 6/15 based on above Table 3 to generate 9720 LDPC parity bits and output the LDPC parity bits and the LDPC codeword formed of the LDPC parity bits. In this case, the LDPC codeword may be formed of 16200 bits.

As described above, the LDPC encoder 130 may encode the LDPC information bits at various code rates to generate the LDPC parity bits.

In particular, when the segmenter 110 performs segmentation based on K_(seg)=2352 or K_(seg)=3072, the LDPC encoder 130 may perform the LDPC encoding on 3240 LDPC information bits at a code rate of 3/15 based on above Table 1 to generate 12960 LDPC parity bits and output the LDPC codeword having a length of 16200 formed of the LDPC information bits and the LDPC parity bits.

Further, when the segmenter 110 performs segmentation based on K_(seg)=6312, the LDPC encoder 130 may perform the LDPC encoding on 6480 LDPC information bits at a code rate of 6/15 based on above Table 3 to generate 9720 LDPC parity bits and output the LDPC codeword having a length of 16200 formed of the LDPC information bits and the LDPC parity bits.

However, the foregoing example describes that the parity check matrix is defined based on above Tables 1 and 3, which is only an example. Therefore, the parity check matrix may be defined by various different schemes.

The transmitter 100 may transmit the LDPC codeword to the receiver 200.

The transmitter 100 may perform repetition and puncturing on the LDPC codeword and transmit the repeated and punctured LDPC codeword (that is, LDPC codeword bits including the repeated bits except the punctured bits) to the receiver 200.

First, the transmitter 100 may perform the repetition. That is, the transmitter 100 may repeat at least some bits of the LDPC codeword formed of the LDPC information bits and the LDPC parity bits at a position next to the LDPC information bits.

In detail, the transmitter 100 may repeat a specific number of LDPC parity bits after the LDPC information bits. That is, the transmitter 100 may redundantly add the specific number of LDPC parity bits after the LDPC information bits. Therefore, the same bits are redundant by the repetition and the repeated bits are positioned between the LDPC information bits and the LDPC parity bits within the LDPC codeword.

Therefore, since the specific number of bits within the LDPC codeword may be repeated and additionally transmitted to the receiver 200, the foregoing operation may be referred to as the repetition. Further, the bits repeated in the LDPC codeword, that is, the bits added after the LDPC information bits depending on the repetition may be referred to as repetition bits (or repeated bits).

Meanwhile, the foregoing repetition may be selectively performed. In detail, when the signaling is segmented based on K_(seg)=2352 and the segmented signaling is LDPC-encoded at the code rate of 3/15, the repetition may be performed. However, when the signaling is segmented based on K_(seg)=3072 and K_(seg)=6312 and the segmented signaling goes through the LDPC encoding at the code rate of 3/15 or 6/15, the repetition may be omitted.

Further, the transmitter 100 may perform the puncturing. That is, the transmitter 100 may puncture some bits in the LDPC parity bits.

Here, the puncturing means that some of the LDPC parity bits are not transmitted to the receiver 200. In this case, the transmitter 100 may transmit the remaining LDPC codeword bits left after the punctured LDPC parity bits are removed to the receiver 200 or transmit only the remaining bits in the LDPC codeword except the punctured LDPC parity bits to the receiver 200.

In detail, the transmitter 100 may puncture bits as many as the specific number of bits at a back portion of the LDPC parity bits. That is, the transmitter 100 may puncture a specific number of bits from the last LDPC parity bit.

In this case, since the LDPC codeword with repetition is configured in an order of the LDPC information bits, the repeated LDPC parity bits, and the LDPC parity bits generated by the LDPC encoding, the transmitter 100 may puncture the specific number of bits from the last LDPC parity bit among the LDPC parity bits generated by the LDPC encoding. Therefore, the specific number of bits from the last bit of the LDPC codeword may be punctured.

Next, the transmitter 100 may transmit the LDPC codeword bits, that is, the repeated, punctured and shortened LDPC codeword except zero bits padded in the repeated and punctured LDPC codeword, that is, the repeated, punctured and shortened LDPC codeword (that is, LDPC codeword bits after the bits are added depending on the repetition except the punctured bits and the shortened bits) to the receiver 200.

In this case, the transmitter 100 may modulate the repeated, punctured and shortened LDPC codeword by QPSK to generate constellation symbols, map the symbols to a frame for transmission to the receiver 200.

In detail, when the signaling is segmented based on K_(seg)=2352 and the segmented signaling is LDPC-encoded at the code rate of 3/15, the transmitter 100 may modulate the repeated, punctured and shortened LDPC codeword by QPSK.

However, when the repetition is omitted, the transmitter 100 may modulate the punctured and shortened LDPC codeword by QPSK, the 16-quadrature amplitude modulation (QAM), the 64-QAM or the 256-QAM to generate the constellation symbols, map the symbols to a frame for transmission to the receiver 200.

In detail, when the signaling is segmented based on K_(seg)=3072 and the segmented signaling is LDPC-encoded at the code rate of 3/15, the transmitter 100 may modulate the punctured and shortened LDPC codeword by QPSK.

Further, when the signaling is segmented based on K_(seg)=6312 and the segmented signaling is LDPC-encoded at the code rate of 6/15, the transmitter 100 may modulate the punctured and shortened LDPC codeword by 16-QAM, 64-QAM or 256-QAM.

Meanwhile, in these cases, when the signaling is modulated by the QPSK, the 16-QAM, the 64-QAM, and the 256-QAM, respectively, the modulation order η_(MOD) may be 2, 4, 6, and 8.

Since the signaling includes signaling information for data, the transmitter 100 may map the data to a frame along with the signaling for processing the data and transmit the mapped data to the receiver 200.

In detail, the transmitter 100 may process the data in a specific scheme to generate the constellation symbols and map the generated constellation symbols to data symbols of each frame. Further, the transmitter 100 may map the signaling for data mapped to each data to a preamble of a corresponding frame. For example, the transmitter 100 may map the signaling including the signaling information for the data mapped to an i-th frame to the i-th frame.

As a result, the receiver 200 may use the signaling acquired from a frame to receive and process the data from the frame.

Meanwhile, according to an exemplary embodiment, descriptions about setting the K_(seg) value to 2352, 3072 or 6312 are provided as follows.

As described above, the signaling is segmented and the segmented signaling formed of K_(sig) bits is BCH-encoded, and as a result, M_(outer) BCH parity check bits are generated. Further, the BCH encoded bits including the segmented signaling and the BCH parity check bits are input to the LDPC encoder 130. That is, the BCH encoded bits configure the input bits of an LDPC code, that is, the LDPC information bits.

Here, K_(seg) is a maximum value of the number of segmented signaling bits, and therefore, a K_(seg)+M_(outer) value becomes a maximum value of the input bits of the LDPC code after the segmentation.

When the K_(seg)+M_(outer) value is small, since more segmentations are performed, that is, the number of segmented signalings is large, it is efficient to set K_(seg) to be a value obtained by subtracting the number M_(outer) of BCH parity check bits generated by the BCH encoding from K_(ldpc) which is the length of the input bits of the LDPC code.

Therefore, when K_(ldpc)=3240 and M_(outer)=168, K_(ldpc)−M_(outer)=3240−168=3072 and K_(seg)=3072, and when K_(ldpc)=6480 and M_(outer)=168, K_(ldpc)−M_(outer)=6480−168=6312 and K_(seg)=6312.

However, when the repetition is performed, as the length of the input bits of the LDPC code is long, the required performance may not be satisfied. In this case, K_(seg) which is the threshold value of the segmentation needs to be set to be a value less than K_(ldpc)−M_(outer).

In detail, K_(seg) is less than K_(ldpc)−M_(outer) and may be set as the K_(ldpc)−M_(outer)−360×i value having the maximum i value among the values which may satisfy the required performance when K_(ldpc)−M_(outer)−360×i is set as the input bits. Here, i is an integer.

That is, when the repetition is performed, since K_(ldpc)=3240 and M_(outer)=168, K_(seg) is less than 3072 and may be set as the (3240−168−360×i) value having the maximum i value among the values which may not satisfy the required performance when (3240−168−360×i) is set as the input bits. Here, i is an integer.

In this case, the reason of using the value 360 in calculating K_(seg) is that columns of the parity check matrix of the LDPC code according to the present exemplary embodiment have a predetermined rule of a 360 unit (that is, column group unit). Therefore, when the number of input bits is limited to a multiple of 360, columns corresponding to the corresponding bits are limited and encoding and decoding may be simpler implemented.

Meanwhile, FIG. 5 is a graph illustrating a signal to noise (SNR) ratio satisfying frame error rate (FER)=10⁻⁴ depending on the length N_(outer)=K_(sig)+M_(outer) of the BCH encoded bits, according to an exemplary embodiment.

Here, the horizontal axis represents the length of the BCH encoded bits and the vertical axis represents an SNR satisfying FER=10⁻⁴.

Further, a dotted line represents −7.73 dB which is an SNR value having a 1.5 dB gain compared to an SNR=−6.23 dB value at which the most robust data satisfy FER=10⁻⁴ in an additive white Gaussian noise (AWGN) channel. Further, a solid line represents an SNR value satisfying FER=10⁻⁴ depending on the length of the BCH encoded bits.

In this case, as described above, the signaling needs to secure the more excellent performance than FER=10⁻⁴ at an SNR equal to or less than −7.73 dB, and therefore, the solid line needs to be present in an area below the dotted line.

However, when K_(sig)+M_(outer)>2520, since the dotted line is present in an area above the solid line, K_(seg)=(K_(ldpc)−M_(outer)−360×i)<2520 needs to be satisfied and the maximum i value satisfying (K_(ldpc)−M_(outer)−360×i)≤2520 is 2, and therefore, K_(seg)=(3240−168−360×2)=2352.

As such, according to the exemplary embodiment, to satisfy the required performance depending on the code rate and whether to perform the repetition, K_(seg)=2352, 3072 or 6312, and thus, the segmentation is performed.

Meanwhile, the foregoing example describes that the signaling is not divided into a plurality of parts, which is only one example.

For example, the signaling may also be divided into two parts, that is, signaling 1 and signaling 2.

In this case, the signaling 1 may include information (for example, information required to demodulate and decode data) not changed by frame in at least two continuous frames, and the signaling 2 may include information (for example, information on positions of cells in which data are mapped in a data symbol) changed by frame.

Hereinafter, when the signaling is divided into two parts, a method for segmenting the signaling will be described in detail with reference to FIG. 6.

First, the segmenter 110 may calculate the number N_(L1D_FECFRAME) of FEC frames for the signaling based on following Equation 13.

$\begin{matrix} {N_{L\; 1D\;\_\;{FECFRAME}} = \left\lceil \frac{K_{L\; 1D\;\_\;{ex}\;\_\;{PAD}} - 1}{K_{seg} - 1} \right\rceil} & (13) \end{matrix}$

In above Equation 13, K_(L1D_ex_pad) represents a summed value of the number of bits of the signaling 1 and the number of bits of the signaling 2.

Further, K_(seg) is a threshold value for segmentation, and for example, K_(seg)=2352, 3072 or 6312.

Further, the segmenter 110 may calculate the number of padding bits. In detail, the segmenter 110 may calculate the number K_(L1D_PAD) of padding bits based on following Equation 14. K _(L1D_PAD) =K _(L1_D1_PAD) +K _(L1_D2_PAD)  (14)

In above Equation 14, the K_(L1_D1_PAD) represents the number of padding bits for the signaling 1 and the K_(L1_D2_PAD) represents the number of padding bits for the signaling 2.

That is, the signaling is divided into the signaling 1 and the signaling 2, and therefore, the segmenter 110 sums the number K_(L1_D1_PAD) of padding bits for the signaling 1 and the number K_(L1_D2_PAD) of padding bits for the signaling 2, thereby calculating the number of all padding bits for the signaling.

In this case, the segmenter 110 may calculate the K_(L1_D1_PAD) and the K_(L1_D2_PAD) based on following Equations 15 and 16.

$\begin{matrix} {K_{L\; 1\_\; D\; 1\_\;{PAD}} = {{\left\lceil \frac{K_{L\; 1\_\; D\; 1}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil \times N_{L\; 1D\;\_\;{FECFRAME}}} - K_{L\; 1\_\; D\; 1}}} & (15) \\ {K_{L\; 1\_\; D\; 2\_\;{PAD}} = {{\left\lceil \frac{K_{L\; 1\_\; D\; 2}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil \times N_{L\; 1D\;\_\;{FECFRAME}}} - K_{L\; 1\_\; D\; 2}}} & (16) \end{matrix}$

In above Equations 15 and 16, K_(L1_D1) represents the number of bits of the signaling 1 and K_(L1_D2) represents the number of bits of the signaling 2.

Further, the segmenter 110 may fill the K_(L1D_PAD) zero bits in the padding field. Therefore, the K_(L1D_PAD) zero bits may be added to the signaling, such that as illustrated in FIG. 6, all signalings may be formed of the signaling 1, the signaling 2, and the padding bits.

Next, the segmenter 110 may calculate a total length K_(L1D) of all the signalings including zero bits based on following Equation 17. K _(L1D) =K _(L1D_ex_pad) +K _(L1D_PAD)  (17)

That is, the segmenter 110 may sum the number of bits of the signaling 1, the number of bits of the signaling 2, and the number of padding bits to calculate the total length of all signalings including the padding bits.

Further, the segmenter 110 may calculate the number K_(sig) of signaling bits in an FEC frame based on following Equation 18. That is, the segmenter 110 may calculate the number K_(sig) of signaling bits included in the FEC frame based on following Equation 18.

$\begin{matrix} {K_{sig} = \frac{K_{L\; 1D}}{N_{L\; 1D\;\_\;{FECFRAME}}}} & (18) \end{matrix}$

Next, the segmenter 110 may segment all signalings based on K_(sig). In detail, as illustrated in FIG. 6, the segmenter 110 may segment all signalings by K_(sig) bit number to segment the signaling into the N_(L1D_FECFRAME) blocks.

In this case, the segmenter 110 may segment the signaling such that the signaling 1 and the signaling 2 are each included in each of a plurality of blocks.

For example, as illustrated in FIG. 6, the segmenter 110 sequentially segments the signaling 1 by the number of ┌K_(L1_D1)/N_(L1D_FECFRAME)┐ bits to segment the signaling 1 into N_(L1D_FECFRAME) sub-blocks. Therefore, the sub-blocks except the last sub-block may be formed of ┌K_(L1_D1)/N_(L1D_FECFRAME)┐ bits, and the last sub-block may be formed of ┌K_(L1_D1)/N_(L1D_FECFRAME)┐−K_(L1_D1_PAD) bits.

Further, the segmenter 110 sequentially segments the signaling 2 by the number of ┌K_(L1_D2)/N_(L1D_FECFRAME)┐ bits to segment the signaling 2 into the N_(L1D_FECFRAME) sub-blocks. Therefore, the sub-blocks except the last sub-block may be formed of ┌K_(L1_D2)/N_(L1D_FECFRAME)┐ bits, and the last sub-block may be formed of ┌K_(L1_D2)/N_(L1D_FECFRAME)┐−K_(L1_D2_PAD) bits.

Further, the segmenter 110 may sequentially sum a sub-block segmented in the signaling 1 and a sub-block segmented in the signaling 2 to configure a plurality of blocks each of which is formed of K_(sig) bits.

In this case, for the last sub-blocks, the segmenter 110 may add the K_(L1_D1_PAD) zero bits to the last sub-block segmented in the signaling 1, add the K_(L1_D2_PAD) zero bits to the last sub-block segmented in the signaling 2, and then sum these two sub-blocks added with the zero bits to configure the final block with K_(sig) bits.

By the above method, the segmenter 110 may segment the signaling including the signalings 1 and 2 into the plurality of blocks having a preset size. Here, each block may be formed of K_(sig) bits.

Meanwhile, as described above, the signaling is divided into the signaling 1 and the signaling 2, and when the signaling 1 and the signaling 2 are individually segmented, overflow may occur.

In detail, when K_(L1D_ex_pad)=K₁+K₂, overflow occurs when a value of

$\left\lceil \frac{K_{1}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil + \left\lceil \frac{K_{2}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil$ is greater than K_(seg). Here, K₁ and K₂ are a length of an individually segmented portion. That is, since the signaling 1 and the signaling 2 are separately segmented, K_(i)=K_(L1_D1) and K₂=K_(L1_D2).

Since K_(seg) is a threshold value of the number of segmented signaling bits, the value of

$\left\lceil \frac{K_{1}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil + \left\lceil \frac{K_{2}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil$ being greater than K_(seg) means that the number of segmented signaling bits is greater than the threshold value, and therefore, it may be considered that overflow occurs.

Therefore, when

${\left\lceil \frac{K_{1}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil = K_{{seg}\; 1}},$ overflow can be prevented, if

$\left\lceil \frac{K_{2}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil \leq {K_{seg} - K_{{seg}\; 1}}$ is satisfied, which may be represented by following Expression 19. K ₁ =N _(L1D_FECFRAME)(K _(seg1)−1)+i for i=1,2, . . . ,N _(L1D_FECFRAME) K ₂ ≤N _(L1D_FECFRAME)(K _(seg) −K _(seg1))  (19)

From above Expression 19, following Expression 20 may be obtained. K _(L1D_ex_PAD) ≤N _(L1D_FECFRAME)(K _(seg)−1)+i for i=1,2, . . . ,N _(L1D_FECFRAME)  (20)

For all i, a necessary condition to satisfy above Expression 20 is

$N_{L\; 1D\;\_\;{FECFRAME}} \geq {\frac{K_{L\; 1D\;\_\;{ex}\;\_\;{pad}} - 1}{K_{seg} - 1}.}$ Consequently, when

${N_{L\; 1D\;\_\;{FECFRAME}} = \frac{K_{L\; 1D\;\_\;{ex}\;\_\;{pad}} - 1}{K_{seg} - 1}},$ overflow does not occur.

Therefore, when the signaling is divided into two parts, if segmentation is performed based on above Equation 13, it is possible to prevent overflow from occurring.

When the signaling is divided into two parts, the segmenter 110 calculates N_(L1D_FECFRAME) based on above Equation 13, which is only one example. Therefore, the segmenter 110 may calculate N_(L1D_FECFRAME) by various schemes. The following examples have a difference in only the method of calculating the N_(L1D_FECFRAME) and the method for segmenting signaling based on the calculated N_(L1D_FECFRAME) is the same, and therefore, only various methods for calculating the N_(L1D_FECFRAME) will be described.

For example, the segmenter 110 may calculate the number N_(L1D_FECFRAME) of FEC frames for signaling based on following Equation 21.

$\begin{matrix} {N_{L\; 1D\;\_\;{FECFRAME}} = \left\{ \begin{matrix} 1 & {{{if}\mspace{14mu} K_{L\; 1D\;\_\;{ex}\;\_\;{pad}}} \leq \left( {K_{seg} + 1} \right)} \\ \left\lceil \frac{K_{L\; 1D\;\_\;{ex}\;\_\;{pad}}}{K_{seg}} \right\rceil & {otherwise} \end{matrix} \right.} & (21) \end{matrix}$

In above Equation 21, the K_(seg) may be 2351, 3071 or 6311.

As another example, the segmenter 110 may calculate the number N_(L1D_FECFRAME) of FEC frames for signaling based on following Equation 22.

$\begin{matrix} {N_{L\; 1D\;\_\;{FECFRAME}} = \left\{ \begin{matrix} 1 & {{{if}\mspace{14mu} K_{L\; 1D\;\_\;{ex}\;\_\;{pad}}} \leq K_{seg}} \\ \left\lceil \frac{K_{L\; 1D\;\_\;{ex}\;\_\;{pad}}}{K_{seg} - 1} \right\rceil & {otherwise} \end{matrix} \right.} & (22) \end{matrix}$

In above Equation 22, the K_(seg) may be 2352, 3072 or 6312.

As another example, the segmenter 120 may calculate the number N_(L1D_FECFRAME) of FEC frames for signaling based on following Equation 23.

$\begin{matrix} {N_{L\; 1D\;\_\;{FECFRAME}} = \left\lceil \frac{K_{L\; 1D\;\_\;{ex}\;\_\;{pad}} - 1}{K_{seg}} \right\rceil} & (23) \end{matrix}$

In above Equation 23, K_(seg) may be 2351, 3071 or 6311.

The foregoing example describes that signaling is divided into two parts, which is only one example.

The signaling may be divided into m parts. For example, the signaling may also be divided into m parts, that is, signaling 1 and signaling 2, . . . , signaling m.

In this case, the segmenter 120 may calculate the number N_(L1_Dyn_FECFRAME) of FEC frames for the signaling based on following Equation 24.

$\begin{matrix} {N_{L\; 1D\;\_\;{FECFRAME}} = \left\lceil \frac{K_{L\; 1D\;\_\;{ex}\;\_\;{pad}} - m + 1}{K_{seg} - m + 1} \right\rceil} & (24) \end{matrix}$

In above Equation 24, K_(L1D_ex_pad) represents a summed value of the number of bits of the signaling 1, the signaling 2, . . . , the signaling m. In above Equation 24, K_(seg) may be 2352, 3072 or 6312.

When the signaling is divided into m parts, a reason for performing the segmentation based on above Equation 24 is as follows.

In detail, when K_(L1D_ex_pad)=K₁+K₂+ . . . +K_(m), overflow occurs when a value of

$\left\lceil \frac{K_{1}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil + \left\lceil \frac{K_{2}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil + \ldots + \left\lceil \frac{K_{m}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil$ is greater than K_(seg).

Therefore, when

${\left\lceil \frac{K_{1}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil = K_{{seg}\; 1}},{\left\lceil \frac{K_{2}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil = K_{{seg}\; 2}},\ldots\mspace{14mu},{\left\lceil \frac{K_{m - 1}}{N_{L\; 1D\;\_\;{FECFRAME}}} \right\rceil K_{{seg}{({m - 1})}}},$ overflow can be prevented from occurring, if

$\left\lceil \frac{K_{m}}{N_{L\; 1{D\_ FECFRAME}}} \right\rceil \leq {K_{seg} - K_{{seg}\; 1} - K_{{seg}\; 2} - \ldots - K_{{seg}{({m - 1})}}}$ is satisfied, which may be represented by following Expression 25. K ₁ =N _(L1D_FECFRAME)(K _(seg1)−1)+i _(i) for i ₁=1,2, . . . ,N _(L1D_FECFRAME)  (1) K ₂ =N _(L1D_FECFRAME)(K _(seg2)−1)+i ₂ for i ₂=1,2, . . . ,N _(L1D_FECFRAME)  (2)

-   -   . . .         K _(m−1) =N _(L1D_FECFRAME)(K _(seg(m−1))−1)+i _(m−1) for i         _(m−1)=1,2, . . . ,N _(L1D_FECFRAME)(m−1)         K _(m) ≤N _(L1D_FECFRAME)(K _(seg) −K _(seg1) −K _(seg2) − . . .         −K _(seg(m−1)))(m)  (25)

From above Equation 25, following Expression 26 may be obtained. K _(L1D_ex_pad) ≤N _(L1D_FECFRAME)(K _(seg) −m+1)+Σ_(j=1) ^(m−1) I _(j) for i _(j)=1,2, . . . ,N _(L1D_FECFRAME)  (26)

For all i_(j), a necessary condition to satisfy above Expression 26 is

$N_{L\; 1{D\_ FECFRAME}} \geq {\frac{K_{L\; 1{D\_ ex}{\_ pad}} - m + 1}{K_{seg} - m + 1}.}$ Consequently, if

${N_{L\; 1{D\_ FECFRAME}} = \left\lceil \frac{K_{L\; 1{D\_ ex}{\_ pad}} - m + 1}{K_{seg} - m + 1} \right\rceil},$ overflow does not occur when the signaling is divided into m parts.

Consequently, to prevent overflow from occurring, the segmenter 120 performs segmentation based on above Equation 24.

Referring to above Equation 24, if m=1 in above Equation 24, above Equation 24 is the same as above Equation 1, and therefore, when signaling is not divided into a plurality of parts, overflow does not occur if segmentation is performed based on above Equation 1.

Further, referring to above Equation 24, if m=2 in above Equation 24, above Equation 24 is the same as above Equation 13, and therefore, when signaling is divided into two parts, overflow does not occur if segmentation is performed based on above Equation 13.

As such, the segmenter 110 may segment signaling based on various methods as described above.

Meanwhile, according to an exemplary embodiment, the foregoing signaling may be implemented by L1-detail signaling. Therefore, the transmitter 100 may segment the L1-detail signaling by using the foregoing methods and transmit the segmented L1-detail signaling to the receiver 200.

Here, the L1-detail signaling may be signaling defined in an Advanced Television System Committee (ATSC) 3.0 standard.

The L1-detail signaling may be processed according to seven (7) different modes. The transmitter 100 according to an exemplary embodiment may set K_(seg) to 2352, 3072 or 6312 according to a corresponding modes to segment the L1-detail signaling.

The ATSC 3.0 standard defines L1-basic signaling besides the L1-detail signaling. The transmitter 100 may process the L1-basic signaling and the L1-detail signaling by using a specific scheme, and transmit the processed L1-basic signaling and L1-detail signaling to the receiver 200. The L1-basic signaling may also be processed according to seven (7) different modes.

A method for processing the L1-basic signaling and the L1-detail signaling will be described below.

The transmitter 100 may map the L1-basic signaling and the L1-detail signaling to a preamble of a frame and map data to data symbols of the frame for transmission to the receiver 200.

Referring to FIG. 7, the frame may be configured of three parts, that is, a bootstrap part, a preamble part, and a data part.

The bootstrap part is used for initial synchronization and provides a basic parameter required for the receiver 200 to decode the L1 signaling. Further, the bootstrap part may include information about a mode of processing the L1-basic signaling at the transmitter 100, that is, information about a mode the transmitter 100 uses to process the L1-basic signaling.

The preamble part includes the L1 signaling, and may be configured of two parts, that is, the L1-basic signaling and the L1-detail signaling.

Here, the L1-basic signaling may include information about the L1-detail signaling, and the L1-detail signaling may include information about data. Here, the data is broadcasting data for providing broadcasting services and may be transmitted through at least one physical layer pipes (PLPs).

In detail, the L1-basic signaling includes information required for the receiver 200 to process the L1-detail signaling. This information includes, for example, information about a mode of processing the L1-detail signaling at the transmitter 100, that is, information about a mode the transmitter 100 uses to process the L1-detail signaling, information about a length of the L1-detail signaling, information about an additional parity mode, that is, information about a K value used for the transmitter 100 to generate additional parity bits using an L1B_L1_Detail_additional_parity_mode (here, when the L1B_L1_Detail_additional_parity_mode is set as ‘00’, K=0 and the additional parity bits are not used), and information about a length of total cells. Further, the L1-basic signaling may include basic signaling information about a system including the transmitter 100 such as a fast Fourier transform (FFT) size, a guard interval, and a pilot pattern.

Further, the L1-detail signaling includes information required for the receiver 200 to decode the PLPs, for example, start positions of cells mapped to data symbols for each PLP, PLP identifier (ID), a size of the PLP, a modulation scheme, a code rate, etc.

Therefore, the receiver 200 may acquire frame synchronization, acquire the L1-basic signaling and the L1-detail signaling from the preamble, and receive service data required by a user from data symbols using the L1-detail signaling.

The method for processing the L1-basic signaling and the L1-detail signaling will be described below in more detail with reference to the accompanying drawings.

FIGS. 8 and 9 are block diagrams for describing a detailed configuration of the transmitter 100, according to an exemplary embodiment.

In detail, as illustrated in FIG. 8, to process the L1-basic signaling, the transmitter 100 may include a scrambler 211, a BCH encoder 212, a zero padder 213, an LDPC encoder 214, a parity permutator 215, a repeater 216, a puncturer 217, a zero remover 219, a bit demultiplexer 219, and a constellation mapper 221.

Further, as illustrated in FIG. 9, to process the L1-detail signaling, the transmitter 100 may include a segmenter 311, a scrambler 312, a BCH encoder 313, a zero padder 314, an LDPC encoder 315, a parity permutator 316, a repeater 317, a puncturer 318, an additional parity generator 319, a zero remover 321, bit demultiplexers 322 and 323, and constellation mappers 324 and 325.

Here, the components illustrated in FIGS. 8 and 9 are components for performing encoding and modulation on the L1-basic signaling and the L1-detail signaling, which is only one example. According to another exemplary embodiments, some of the components illustrated in FIGS. 8 and 9 may be omitted or changed, and other components may also be added. Further, positions of some of the components may be changed. For example, the positions of the repeaters 216 and 317 may be disposed after the puncturers 217 and 318, respectively

The segmenter 311, the BCH encoder 313 and the LDPC encoder 315 illustrated in FIG. 9 may perform operations performed by the segmenter 110, the outer encoder 120 and the LDPC encoder 130 illustrated in FIG. 1.

In describing FIGS. 8 and 9, for convenience, components for performing common functions will be described together.

The L1-basic signaling and the L1-detail signaling may be protected by concatenation of a BCH outer code and an LDPC inner code. However, this is only one example. Therefore, as outer encoding performed before inner encoding in the concatenated coding, another encoding such as CRC encoding in addition to the BCH encoding may be used. Further, the L1-basic signaling and the L1-detail signaling may be protected only by the LDPC inner code without the outer code.

First, the L1-basic signaling and the L1-detail signaling may be scrambled. Further, the L1-basic signaling and the L1-detail signaling are BCH encoded, and thus, BCH parity check bits of the L1-basic signaling and the L1-detail signaling generated from the BCH encoding may be added to the L1-basic signaling and the L1-detail signaling, respectively. Further, the concatenated signaling and the BCH parity check bits may be additionally protected by a shortened and punctured 16K LDPC code.

To provide various robustness levels appropriate for a wide signal to noise ratio (SNR) range, a protection level of the L1-basic signaling and the L1-detail signaling may be divided into seven (7) modes. That is, the protection level of the L1-basic signaling and the L1-detail signaling may be divided into the seven modes based on an LDPC code, a modulation order, shortening/puncturing parameters (that is, a ratio of the number of bits to be punctured to the number of bits to be shortened), and the number of bits to be basically punctured (that is, the number of bits to be basically punctured when the number of bits to be shortened is 0). In each mode, at least one different combination of the LDPC code, the modulation order, the constellation, and the shortening/puncturing pattern may be used.

A mode for the transmitter 100 to processes the signaling may be set in advance depending on a system. Therefore, the transmitter 100 may determine parameters (for example, modulation and code rate (ModCod) for each mode, parameter for the BCH encoding, parameter for the zero padding, shortening pattern, code rate/code length of the LDPC code, group-wise interleaving pattern, parameter for repetition, parameter for puncturing, and modulation scheme, etc.) for processing the signaling depending on the set mode, and may process the signaling based on the determined parameters and transmit the processed signaling to the receiver 200. For this purpose, the transmitter 100 may pre-store the parameters for processing the signaling depending on the mode.

Modulation and code rate configurations (ModCod configurations) for the seven modes for processing the L1-basic signaling and the seven modes for processing the L1-detail signaling are shown in following Table 4. The transmitter 100 may encode and modulate the signaling based on the ModCod configurations defined in following Table 4 according to a corresponding mode. That is, the transmitter 100 may determine an encoding and modulation scheme for the signaling in each mode based on following Table 4, and may encode and modulate the signaling according to the determined scheme. In this case, even when modulating the L1 signaling by the same modulation scheme, the transmitter 100 may also use different constellations.

TABLE 4 Code Code Signaling FEC Type K_(sig) Length Rate Constellation L1-Basic Mode 1 200 16200 3/15 QPSK Mode 2 (Type A) QPSK Mode 3 QPSK Mode 4 NUC_16-QAM Mode 5 NUC_64-QAM Mode 6 NUC_256-QAM Mode 7 NUC_256-QAM L1-Detail Mode 1 400~2352 QPSK Mode 2 400~3072 QPSK Mode 3 400~6312 6/15 QPSK Mode 4 (Type B) NUC_16-QAM Mode 5 NUC_64-QAM Mode 6 NUC_256-QAM Mode 7 NUC_256-QAM

In above Table 4, K_(sig) represents the number of information bits for a coded block. That is, since the L1 signaling bits having a length of K_(sig) are encoded to generate the coded block, a length of the L1 signaling in one coded block becomes K_(sig). Therefore, the L1 signaling bits having the size of K_(sig) may be considered as corresponding to one LDPC coded block.

Referring to above Table 4, the K_(sig) value for the L1-basic signaling is fixed to 200. However, since the amount of L1-detail signaling bits varies, the K_(sig) value for the L1-detail signaling varies.

In detail, in a case of the L1-detail signaling, the number of L1-detail signaling bits varies, and thus, when the number of L1-detail signaling bits is greater than a preset value, the L1-detail signaling may be segmented to have a length which is equal to or less than the preset value.

In this case, each size of the segmented L1-detail signaling blocks (that is, segment of the L1-detail signaling) may have the K_(sig) value defined in above Table 4. Further, each of the segmented L1-detail signaling blocks having the size of K_(sig) may correspond to one LDPC coded block.

However, when the number of L1-detail signaling bits is equal to or less than the preset value, the L1-detail signaling is not segmented. In this case, the size of the L1-detail signaling may have the K_(sig) value defined in above Table 4. Further, the L1-detail signaling having the size of K_(sig) may correspond to one LDPC coded block.

Hereinafter, a method for segmenting L1-detail signaling will be described in detail.

The segmenter 311 segments the L1-detail signaling. In detail, since the length of the L1-detail signaling varies, when the length of the L1-detail signaling is greater than the preset value, the segmenter 311 may segment the L1-detail signaling to have the number of bits which are equal to or less than the preset value and output each of the segmented L1-detail signalings to the scrambler 312.

However, when the length of the L1-detail signaling is equal to or less than the preset value, the segmenter 311 does not perform a separate segmentation operation.

A method for segmenting, by the segmenter 311, the L1-detail signaling is as follows.

The amount of L1-detail signaling bits varies and mainly depends on the number of PLPs. Therefore, to transmit all bits of the L1-detail signaling, at least one forward error correction (FEC) frame is required. Here, an FEC frame may represent a form in which the L1-detail signaling is encoded, and thus, parity bits according to the encoding are added to the L1-detail signaling.

In detail, when the L1-detail signaling is not segmented, the L1-detail signaling is BCH-encoded and LDPC encoded to generate one FEC frame, and therefore, one FEC frame is required for the L1-detail signaling transmission. However, when the L1-detail signaling is segmented into at least two, these segmented L1-detail signalings each are BCH-encoded and LDPC-encoded to generate at least two FEC frames, and therefore, at least two FEC frames are required for the L1-detail signaling transmission.

Therefore, the segmenter 311 may calculate the number N_(L1D_FECFRAME) of FEC frames for the L1-detail signaling based on following Equation 27. That is, the number N_(L1D_FECFRAME) of FEC frames for the L1-detail signaling may be determined based on following Equation 27.

$\begin{matrix} {N_{L\; 1{D\_ FECFRAME}} = \left\lceil \frac{K_{L\; 1{D\_ ex}{\_ pad}}}{K_{seg}} \right\rceil} & (27) \end{matrix}$

In above Equation 27, ┌x┐ represents a minimum integer which is equal to or greater than x.

Further, in above Equation 27, K_(L1D_ex_pad) represents the length of the L1-detail signaling except L1 padding bits as illustrated in FIG. 10, and may be determined by a value of an L1B_L1_Detail_size_bits field included in the L1-basic signaling.

Further, K_(seg) represents a threshold number for segmentation defined based on the number K_(ldpc) of information bits input to the LDPC encoder 315, that is, the LDPC information bits. Further, K_(seg) may be defined based on the number of BCH parity check bits of BCH encoding and a multiple value of 360.

K_(seg) is determined such that, after the L1-detail signaling is segmented, the number K_(sig) of information bits in the coded block is set to be equal to or less than K_(ldpc)−M_(outer). In detail, when the L1-detail signaling is segmented based on K_(seg), since the length of segmented L1-detail signaling does not exceed K_(seg), the length of the segmented L1-detail signaling is set to be equal to or less than K_(ldpc)−M_(outer) when K_(seg) is set like in Table 5 as following.

Here, M_(outer) and K_(ldpc) are as following Tables 6 and 7. For sufficient robustness, the K_(seg) value for the L1-detail signaling mode 1 may be set to be K_(ldpc)−M_(outer)−720.

K_(seg) for each mode of the L1-detail signaling may be defined as following Table 5. In this case, the segmenter 311 may determine K_(seg) according to a corresponding mode as shown in following 5.

TABLE 5 L1-Detail K_(seg) Mode 1 2352 Mode 2 3072 Mode 3 6312 Mode 4 Mode 5 Mode 6 Mode 7

As illustrated in FIG. 10, an entire L1-detail signaling may be formed of L1-detail signaling and L1 padding bits.

In this case, the segmenter 311 may calculate a length of an L1_PADDING field for the L1-detail signaling, that is, the number_(L1D_PAD) of the L1 padding bits based on following Equation 28.

However, calculating K_(L1D_PAD) based on following Equation 28 is only one example. That is, the segmenter 311 may calculate the length of the L1_PADDING field for the L1-detail signaling, that is, the number K_(L1D_PAD) of the L1 padding bits based on K_(L1D_ex_pad) and N_(L1D_FECFRAME) values. As one example, the K_(L1D_PAD) value may be obtained based on following Equation 28. That is, following Equation 28 is only one example of a method for obtaining a K_(L1D_PAD) value, and thus, another method based on the K_(L1D_ex_pad) and N_(L1D_FECFRAME) values may be applied to obtain an equivalent result.

$\begin{matrix} {K_{L\; 1{D\_ PAD}} = {{\left\lceil \frac{K_{L\; 1{D\_ ex}{\_ pad}}}{\left( {N_{L\; 1{D\_ FECFRAME}} \times 8} \right)} \right\rceil \times 8 \times N_{L\; 1{D\_ FECFRAME}}} - K_{L\; 1{D\_ ex}{\_ pad}}}} & (28) \end{matrix}$

Further, the segmenter 311 may fill the L1_PADDING field with K_(L1D_PAD) zero bits (that is, bits having a 0 value). Therefore, as illustrated in FIG. 10, the K_(L1D_PAD) zero bits may be filled in the L1_PADDING field.

As such, by calculating the length of the L1_PADDING field and padding zero bits of the calculated length to the L1_PADDING field, the L1-detail signaling may be segmented into the plurality of blocks formed of the same number of bits when the L1-detail signaling is segmented.

Next, the segmenter 311 may calculate a final length K_(L1D) of the entire L1-detail signaling including the zero padding bits based on following Equation 29. K _(L1D) =K _(L1D_ex_pad) +K _(L1D_PAD)  (29)

Further, the segmenter 311 may calculate the number K_(sig) of information bits in each of the N_(L1D_FECFRAME) blocks based on following Equation 30.

$\begin{matrix} {K_{sig} = \frac{K_{L\; 1D}}{N_{L\; 1{D\_ FECFRAME}}}} & (30) \end{matrix}$

Next, the segmenter 311 may segment the L1-detail signaling by K_(sig) number of bits.

In detail, as illustrated in FIG. 10, when the N_(L1D_FECFRAME) is greater than 1, the segmenter 311 may segment the L1-detail signaling by the number of K_(sig) bits to segment the L1-detail signaling into the N_(L1D_FECFRAME) blocks.

Therefore, the L1-detail signaling may be segmented into N_(L1D_FECFRAME) blocks, and the number of L1-detail signaling bits in each of the N_(L1D_FECFRAME) blocks may be K_(sig). Further, each segmented L1-detail signaling is encoded. As an encoded result, a coded block, that is, an FEC frame is formed, such that the number of L1-detail signaling bits in each of the N_(L1D_FECFRAME) coded blocks may be K_(sig).

However, when the L1-detail signaling is not segmented, K_(sig)=K_(L1D_ex_pad).

The segmented L1-detail signaling blocks may be encoded by a following procedure.

In detail, all bits of each of the L1-detail signaling blocks having the size K_(sig) may be scrambled. Next, each of the scrambled L1-detail signaling blocks may be encoded by concatenation of the BCH outer code and the LDPC inner code.

In detail, each of the L1-detail signaling blocks is BCH-encoded, and thus M_(outer) (=168) BCH parity check bits may be added to the K_(sig) L1-detail signaling bits of each block, and then, the concatenation of the L1-detail signaling bits and the BCH parity check bits of each block may be encoded by a shortened and punctured 16K LDPC code. The details of the BCH code and the LDPC code will be described below. However, the exemplary embodiments describe only a case in which M_(outer)=168, but it is apparent that M_(outer) may be changed into an appropriate value depending on the requirements of a system.

The scramblers 211 and 312 scramble the L1-basic signaling and the L1-detail signaling, respectively. In detail, the scramblers 211 and 312 may randomize the L1-basic signaling and the L1-detail signaling, and output the randomized L1-basic signaling and L1-detail signaling to the BCH encoders 212 and 313, respectively.

In this case, the scramblers 211 and 312 may scramble the information bits by a unit of K_(sig).

That is, since the number of L1-basic signaling bits transmitted to the receiver 200 through each frame is 200, the scrambler 211 may scramble the L1-basic signaling bits by K_(sig) (=200).

Since the number of L1-basic signaling bits transmitted to the receiver 200 through each frame varies, in some cases, the L1-detail signaling may be segmented by the segmenter 311. Further, the segmenter 311 may output the L1-detail signaling formed of K_(sig) bits or the segmented L1-detail signaling blocks to the scrambler 312. As a result, the scrambler 312 may scramble the L1-detail signaling bits by every K_(sig) which are output from the segmenter 311.

The BCH encoders 212 and 313 perform the BCH encoding on the L1-basic signaling and the L1-detail signaling to generate the BCH parity check bits.

In detail, the BCH encoders 212 and 313 may perform the BCH encoding on the L1-basic signaling and the L1-detail signaling output from the scramblers 211 and 313, respectively, to generate the BCH parity check bits, and output the BCH-encoded bits in which the BCH parity check bits are added to each of the L1-basic signaling and the L1-detail signaling to the zero padders 213 and 314, respectively.

For example, the BCH encoders 212 and 313 may perform the BCH encoding on the input K_(sig) bits to generate the M_(outer) (that is, K_(sig)=K_(payload)) BCH parity check bits and output the BCH-encoded bits formed of N_(outer)(=K_(sig)+M_(outer)) bits to the zero padders 213 and 314, respectively.

The parameters for the BCH encoding may be defined as following Table 6.

TABLE 6 K_(sig) = N_(outer) = Signaling FEC Type K_(payload) M_(outer) K_(sig) + M_(outer) L1-Basic Mode 1 200 168 368 Mode 2 Mode 3 Mode 4 Mode 5 Mode 6 Mode 7 L1-Detail Mode 1 400~2352 568~2520 Mode 2 400~3072 568~3240 Mode 3 400~6312 568~6480 Mode 4 Mode 5 Mode 6 Mode 7

Meanwhile, referring to FIGS. 8 and 9, it may be appreciated that the LDPC encoders 214 and 315 may be disposed after the BCH encoders 212 and 313, respectively.

Therefore, the L1-basic signaling and the L1-detail signaling may be protected by the concatenation of the BCH outer code and the LDPC inner code.

In detail, the L1-basic signaling and the L1-detail signaling are BCH-encoded, and thus, the BCH parity check bits for the L1-basic signaling are added to the L1-basic signaling and the BCH parity check bits for the L1-detail signaling are added to the L1-detail signaling. Further, the concatenated L1-basic signaling and BCH parity check bits are additionally protected by an LDPC code, and the concatenated L1-detail signaling and BCH parity check bits may be additionally protected by an LDPC code.

Here, it is assumed that an LDPC code for LDPC encoding is a 16K LDPC code, and thus, in the BCH encoders 212 and 213, a systematic BCH code for N_(inner)=16200 (that is, the code length of the 16K LDPC code is 16200 and an LDPC codeword generated by the LDPC encoding may be formed of 16200 bits) may be used to perform outer encoding of the L1-basic signaling and the L1-detail signaling.

The zero padders 213 and 314 pad zero bits. In detail, for the LDPC code, a predetermined number of LDPC information bits defined according to a code rate and a code length is required, and thus, the zero padders 213 and 314 may pad zero bits for the LDPC encoding to generate the predetermined number of LDPC information bits formed of the BCH-encoded bits and zero bits, and output the generated bits to the LDPC encoders 214 and 315, respectively, when the number of BCH-encoded bits is less than the number of LDPC information bits. When the number of BCH-encoded bits is equal to the number of LDPC information bits, zero bits are not padded.

Here, zero bits padded by the zero padders 213 and 314 are padded for the LDPC encoding, and therefore, the padded zero bits padded are not transmitted to the receiver 200 by a shortening operation.

For example, when the number of LDPC information bits of the 16K LDPC code is K_(ldpc), in order to form K_(ldpc) LDPC information bits, zero bits are padded.

In detail, when the number of BCH-encoded bits is N_(outer), the number of LDPC information bits of the 16K LDPC code is K_(ldpc), and N_(outer)<K_(ldpc), the zero padders 213 and 314 may pad the K_(ldpc)−N_(outer) zero bits and use the N_(outer) BCH-encoded bits as the remaining portion of the LDPC information bits to generate the LDPC information bits formed of K_(ldpc) bits. However, when N_(outer)=K_(ldpc), zero bits are not padded.

For this purpose, the zero padders 213 and 314 may divide the LDPC information bits into a plurality of bit groups.

For example, the zero padders 213 and 314 may divide the K_(ldpc) LDPC information bits (i₀, i₁, . . . i_(K) _(ldpc) ⁻¹) into N_(info_group)(=K_(ldpc)/360) bit groups based on following Equation 31 or 32. That is, the zero padders 213 and 314 may divide the LDPC information bits into the plurality of bit groups so that the number of bits included in each bit group is 360.

$\begin{matrix} {Z_{j} = {{\left\{ {{i_{k}❘j} = {{\left\lfloor \frac{k}{360} \right\rfloor \cdot 0} \leq k < K_{ldpc}}} \right\}\mspace{14mu}{for}\mspace{14mu} 0} \leq j < N_{info\_ group}}} & (31) \\ {Z_{j} = {{\left\{ {i_{k}❘{{360 \times j} \leq k < {360 \times \left( {j + 1} \right)}}} \right\}\mspace{14mu}{for}\mspace{14mu} 0} \leq j < N_{info\_ group}}} & (32) \end{matrix}$

In above Equations 31 and 32, 4 represents a j-th bit group.

The parameters N_(outer), K_(ldpc), and N_(info_group) for the zero padding for the L1-basic signaling and the L1-detail signaling may be defined as shown in following Table 7. In this case, the zero padders 213 and 314 may determine parameters for the zero padding according to a corresponding mode as shown in following Table 7.

TABLE 7 Signaling FEC Type N_(outer) K_(ldpc) N_(info) _(—) _(group) L1-Basic (all modes) 368 3240 9 L1-Detail Mode 1 568~2520 L1-Datail Mode 2 568~3240 L1-Detail Mode 3 568~6480 6480 18 L1-Detail Mode 4 L1-Detail Mode 5 L1-Detail Mode 6 L1-Detail Mode 7

Further, for 0≤j<N_(info_group), each bit group Z_(j) as shown in FIG. 11 may be formed of 360 bits.

In detail, FIG. 11 illustrates a data format after the L1-basic signaling and the L1-detail signaling each are LDPC-encoded. In FIG. 11, an LDPC FEC added to the K_(ldpc) LDPC information bits represents the LDPC parity bits generated by the LDPC encoding.

Referring to FIG. 11, the K_(ldpc) LDPC information bits are divided into the N_(info_group) bits groups and each bit group may be formed of 360 bits.

When the number N_(outer)(=K_(sig)+M_(outer)) of BCH-encoded bits for the L1-basic signaling and the L1-detail signaling is less than the K_(ldpc), that is, N_(outer)(=K_(sig)+M_(outer))<K_(ldpc), for the LDPC encoding, the K_(ldpc) LDPC information bits may be filled with the N_(outer) BCH-encoded bits and the K_(ldpc)−N_(outer) zero-padded bits. In this case, the padded zero bits are not transmitted to the receiver 200.

Hereinafter, a shortening procedure performed by the zero padders 213 and 314 will be described in more detail.

The zero padders 213 and 314 may calculate the number of padded zero bits. That is, to fit the number of bits required for the LDPC encoding, the zero padders 213 and 314 may calculate the number of zero bits to be padded.

In detail, the zero padders 213 and 314 may calculate a difference between the number of LDPC information bits and the number of BCH-encoded bits as the number of padded zero bits. That is, for a given N_(outer), the zero padders 213 and 314 may calculate the number of padded zero bits as K_(ldpc)−N_(outer).

Further, the zero padders 213 and 314 may calculate the number of bit groups in which all the bits are padded. That is, the zero padders 213 and 314 may calculate the number of bit groups in which all bits within the bit group are padded by zero bits.

In detail, the zero padders 213 and 314 may calculate the number N_(pad) of groups to which all bits are padded based on following Equation 33 or 34.

$\begin{matrix} {N_{pad} = \left\lfloor \frac{K_{ldpc} - N_{outer}}{360} \right\rfloor} & (33) \\ {N_{pad} = \left\lfloor \frac{\left( {K_{ldpc} - M_{outer}} \right) - K_{sig}}{360} \right\rfloor} & (34) \end{matrix}$

Next, the zero padders 213 and 314 may determine bit groups in which zero bits are padded among a plurality of bit groups based on a shortening pattern, and may pad zero bits to all bits within some of the determined bit groups and some bits within the remaining bit groups.

In this case, the shortening pattern of the padded bit group may be defined as shown in following Table 8. In this case, the zero padders 213 and 314 may determine the shortening patterns according to a corresponding mode as shown in following Table 8.

TABLE 8 Signaling FEC Type N_(info) _(—) _(group) π_(S)(j) (0 ≤ j < N_(info) _(—) _(group)) π_(S)(0) π_(S)(1) π_(S)(2) π_(S)(3) π_(S)(4) π_(S)(5) π_(S)(6) π_(S)(7) π_(S)(8) π_(S)(9) π_(S)(10) π_(S)(11) π_(S)(12) π_(S)(13) π_(S)(14) π_(S)(15) π_(S)(16) π_(S)(17) L1-Basic 9 4 1 5 2 8 6 0 7 3 (for all modes) — — — — — — — — — L1-Detail Mode 1 7 8 5 4 1 2 6 3 0 — — — — — — — — — L1-Detail Mode 2 6 1 7 8 0 2 4 3 5 — — — — — — — — — L1-Detail Mode 3 18 0 12 15 13 2 5 7 9 8 6 16 10 14 1 17 11 4 3 L1-Detail Mode 4 0 15 5 16 17 1 6 13 11 4 7 12 8 14 2 3 9 10 L1-Detail Mode 5 2 4 5 17 9 7 1 6 15 8 10 14 16 0 11 13 12 3 L1-Detail Mode 6 0 15 5 16 17 1 6 13 11 4 7 12 8 14 2 3 9 10 L1-Detail Mode 7 15 7 8 11 5 10 16 4 12 3 0 6 9 1 14 17 2 13

Here, π_(s)(j) is an index of a j-th padded bit group. That is, the π_(s)(j) represents a shortening pattern order of the j-th bit group. Further, N_(info_group) is the number of bit groups configuring the LDPC information bits.

In detail, the zero padders 213 and 314 may determine Z_(π) _(s) ₍₀₎, Z_(π) _(s) ₍₁₎, . . . , Z_(π) _(s) _((N) _(pad) ⁻¹⁾ as bit groups in which all bits within the bit group are padded by zero bits based on the shortening pattern, and pad zero bits to all bits of the bit groups. That is, the zero padders 213 and 314 may pad zero bits to all bits of a π_(s)(0)-th bit group, a π_(s)(1)-th bit group, . . . a π_(s)(N_(pad)−1)-th bit group among the plurality of bit groups based on the shortening pattern.

As such, when N_(pad) is not 0, the zero padders 213 and 314 may determine a list of the N_(pad) bit groups, that is, Z_(π) _(s) ₍₀₎, Z_(π) _(s) ₍₁₎, . . . , Z_(π) _(s) _((N) _(pad) ⁻¹⁾ based on above Table 8, and pad zero bits to all bits within the determined bit group.

However, when the N_(pad) is 0, the foregoing procedure may be omitted.

Since the number of all the padded zero bits is K_(ldpc)−N_(outer) and the number of zero bits padded to the N_(pad) bit groups is 360×N_(pad), the zero padders 213 and 314 may additionally pad zero bits to K_(ldpc)−N_(outer)−360×N_(pad) LDPC information bits.

In this case, the zero padders 213 and 314 may determine a bit group to which zero bits are additionally padded based on the shortening pattern, and may additionally pad zero bits from a head portion of the determined bit group.

In detail, the zero padders 213 and 314 may determine Z_(π) _(s) _((N) _(pad)) as a bit group to which zero bits are additionally padded based on the shortening pattern, and may additionally pad zero bits to the K_(ldpc)−N_(outer)−360×N_(pad) bits positioned at the head portion of Z_(π) _(s) _((N) _(pad)) . Therefore, the L_(ldpc)−N_(outer)−360×N_(pad) zero bits may be padded from a first bit of the π_(s)(N_(pad))-th bit group.

As a result, for Z_(π) _(s) _((N) _(pad) ₎, zero bits may be additionally padded to the K_(ldpc)−N_(bch)−360×N_(pad) bits positioned at the head portion of the Z_(π) _(s) _((N) _(pad) ₎.

The foregoing example describes that K_(ldpc)−N_(outer)−360×N_(pad) zero bits are padded from a first bit of the Z_(π) _(s) _((N) _(pad) ₎, which is only one example. Therefore, the position at which zero bits are padded in the Z_(π) _(s) _((N) _(pad) ₎, may be changed. For example, the K_(ldpc)−N_(outer)−360×N_(pad) zero bits may be padded to a middle portion or a last portion of the Z_(π) _(s) _((N) _(pad) ₎ or may also be padded at any position of the Z_(π) _(s) _((N) _(pad) ₎.

Next, the zero padders 213 and 314 may map the BCH-encoded bits to the positions at which zero bits are not padded to configure the LDPC information bits.

Therefore, the N_(outer) BCH-encoded bits are sequentially mapped to the bit positions at which zero bits in the K_(ldpc) LDPC information bits (i₀, i₁, . . . , i_(K) _(ldpc) ⁻¹) are not padded, and thus, the K_(ldpc) LDPC information bits may be formed of the N_(outer) BCH-encoded bits and the K_(ldpc)−N_(outer) information bits.

The padded zero bits are not transmitted to the receiver 200. As such, a procedure of padding the zero bits or a procedure of padding the zero bits and then not transmitting the padded zero bits to the receiver 200 may be called shortening.

The LDPC encoders 214 and 315 perform LDPC encoding on the L1-basic signaling and the L1-detail signaling, respectively.

In detail, the LDPC encoders 214 and 315 may perform LDPC encoding on the LDPC information bits output from the zero padders 213 and 31 to generate LDPC parity bits, and output an LDPC codeword including the LDPC information bits and the LDPC parity bits to the parity permutators 215 and 316, respectively.

That is, K_(ldpc) bits output from the zero padder 213 may include K_(sig) L1-basic signaling bits, M_(outer) (=N_(outer)−K_(sig)) BCH parity check bits, and K_(ldpc)−N_(outer) padded zero bits, which may configure K_(ldpc) LDPC information bits i=(i₀, i_(i), . . . , i_(K) _(ldpc) ⁻¹) for the LDPC encoder 214.

Further, the K_(ldpc) bits output from the zero padder 314 may include the K_(sig) L1-detail signaling bits, the M_(outer) (=N_(outer)−K_(sig)) BCH parity check bits, and the (K_(ldpc)−N_(outer)) padded zero bits, which may configure the K_(ldpc) LDPC information bits i=(i₀, i₁, . . . , i_(K) _(ldpc) ⁻¹) for the LDPC encoder 315.

In this case, the LDPC encoders 214 and 315 may systematically perform the LDPC encoding on the K_(ldpc) LDPC information bits to generate an LDPC codeword Λ=(c₀, c₁, . . . , c_(N) _(inner) ⁻¹)=(i₀, i₁, . . . , i_(K) _(ldpc) ⁻¹, p₀, p₁, . . . , p_(N) _(inner) _(−K) _(ldpc) ⁻¹) formed of N_(inner) bits.

In the L1-basic modes and the L1-detail modes 1 and 2, the LDPC encoders 214 and 315 may encode the L1-basic signaling and the L1-detail signaling at a code rate of 3/15 to generate 16200 LDPC codeword bits. In this case, the LDPC encoders 214 and 315 may perform the LDPC encoding based on above Table 1.

Further, in the L1-detail modes 3, 4, 5 6, and 7, the LDPC encoder 315 may encode the L1-detail signaling at a code rate of 6/15 to generate the 16200 LDPC codeword bits. In this case, the LDPC encoder 315 may perform the LDPC encoding based on above Table 3.

The code rate and the code length for the L1-basic signaling and the L1-detail signaling are as shown in above Table 5, and the number of LDPC information bits are as shown in above Table 8.

The parity permutators 215 and 316 perform parity permutation. That is, the parity permutators 215 and 316 may perform permutation only on the LDPC parity bits among the LDPC information bits and the LDPC parity bits.

In detail, the parity permutators 215 and 316 may perform the permutation only on the LDPC parity bits in the LDPC codewords output from the LDPC encoders 214 and 315, and output the parity permutated LDPC codewords to the repeaters 216 and 317, respectively. The parity permutator 316 may output the parity permutated LDPC codeword to an additional parity generator 319. In this case, the additional parity generator 319 may use the parity permutated LDPC codeword output from the parity permutator 316 to generate additional parity bits.

For this purpose, the parity permutators 215 and 316 may include a parity interleaver (not illustrated) and a group-wise interleaver (not illustrated).

First, the parity interleaver may interleave only the LDPC parity bits among the LDPC information bits and the LDPC parity bits configuring the LDPC codeword. However, the parity interleaver may perform the parity interleaving only in the cases of the L1-detail modes 3, 4, 5, 6 and 7. That is, since the L1-basic modes and the L1-detail modes 1 and 2 include the parity interleaving as a portion of the LDPC encoding process, in the L1-basic modes and the L1-detail modes 1 and 2, the parity interleaver may not perform the parity interleaving.

In the mode of performing the parity interleaving, the parity interleaver may interleave the LDPC parity bits based on following Equation 35. u _(i) =c _(i) for 0≤i<K _(ldpc) (information bits are not interleaved.) u _(K) _(ldpc) _(+360t+s) =c _(K) _(ldpc) _(+27s+t) for 0≤s<360,0≤t<27  (35)

In detail, based on above Equation 35, the LDPC codeword (c₀, c₁, . . . , c_(N) _(inner) ⁻¹) is parity-interleaved by the parity interleaver and an output of the parity interleaver may be represented by U=(u₀, u₁, . . . , u_(N) _(inner) ⁻¹).

Since the L1-basic modes and the L1-detail modes 1 and 2 do not use the parity interleaver, an output U=(u₀, u₁, . . . , u_(N) _(inner) ⁻¹) of the parity interleaver may be represented as following Equation 36. u _(i) =c _(i) for 0≤i<N _(inner)  (36)

The group-wise interleaver may perform the group-wise interleaving on the output of the parity interleaver.

Here, as described above, the output of the parity interleaver may be an LDPC codeword parity-interleaved by the parity interleaver or may be an LDPC codeword which is not parity-interleaved by the parity interleaver.

Therefore, when the parity interleaving is performed, the group-wise interleaver may perform the group-wise interleaving on the parity interleaved LDPC codeword, and when the parity interleaving is not performed, the group-wise interleaver may perform the group-wise interleaving on the LDPC codeword which is not parity-interleaved.

In detail, the group-wise interleaver may interleave the output of the parity interleaver in a bit group unit.

For this purpose, the group-wise interleaver may divide an LDPC codeword output from the parity interleaver into a plurality of bit groups. As a result, the LDPC parity bits output from the parity interleaver may be divided into a plurality of bit groups.

In detail, the group-wise interleaver may divide the LDPC-encoded bits (u₀, u₁, . . . , u_(N) _(inner) ⁻¹) output from the parity interleaver into N_(group)(=N_(inner)/360) bit groups based on following Equation 37. X _(j) ={u _(k)|360×j≤k<360×(j+1),0≤k<N _(inner)} for 0≤j<N _(group)  (37)

In the above Equation 37, X_(j) represents a j-th bit group.

FIG. 12 illustrates an example of dividing the LDPC codeword output from the parity interleaver into a plurality of bit groups.

Referring to FIG. 12, the LDPC codeword is divided into N_(group)(=N_(inner)/360) bit groups, and each bit group X_(j) for 0≤j<N_(group) is formed of 360 bits.

As a result, the LDPC information bits formed of K_(ldpc) bits may be divided into K_(ldpc)/360 bit groups and the LDPC parity bits formed of N_(inner)−K_(ldpc) bits may be divided into N_(inner)−K_(ldpc)/360 bit groups.

Further, the group-wise interleaver performs the group-wise interleaving on the LDPC codeword output from the parity interleaver.

In this case, the group-wise interleaver does not perform interleaving on the LDPC information bits, and may perform the interleaving only on the LDPC parity bits to change the order of the plurality of bit groups configuring the LDPC parity bits.

As a result, the LDPC information bits among the LDPC bits may not be interleaved by the group-wise interleaver but the LDPC parity bits among the LDPC bits may be interleaved by the group-wise interleaver. In this case, the LDPC parity bits may be interleaved in a group unit.

In detail, the group-wise interleaver may perform the group-wise interleaving on the LDPC codeword output from the parity interleaver based on following Equation 38. Y _(j) =X _(j),0≤j<K _(ldpc)/360 Y _(j) =X _(πp(j)) ,K _(ldpc)/360≤j<N _(group)  (38)

Here, X_(j) represents a j-th bit group among the plurality of bit groups configuring the LDPC codeword, that is, the j-th bit group prior to the group-wise interleaving and Y_(j) represents the group-wise interleaved j-th bit group. Further, π_(p)(j) represents a permutation order for the group-wise interleaving.

The permutation order may be defined based on following Table 9 and Table 10. Here, Table 9 shows a group-wise interleaving pattern of a parity portion in the L1-basic modes and the L1-detail modes 1 and 2, and Table 10 shows a group-wise interleaving pattern of a parity portion for the L1-detail modes 3, 4, 5, 6 and 7.

In this case, the group-wise interleaver may determine the group-wise interleaving pattern according to a corresponding mode shown in following Tables Tables 9 and 10.

TABLE 9 Signaling Order of group-wise interleaving FEC Type N_(group) π_(p)(j) (9 ≤ j < 45) π_(p)(9) π_(p)(10) π_(p)(11) π_(p)(12) π_(p)(13) π_(p)(14) π_(p)(15) π_(p)(16) π_(p)(17) π_(p)(18) π_(p)(19) π_(p)(20) π_(p)(21) π_(p)(22) π_(p)(23) π_(p)(24) π_(p)(25) π_(p)(26) π_(p)(27) π_(p)(28) π_(p)(29) π_(p)(30) π_(p)(31) π_(p)(32) π_(p)(33) π_(p)(34) π_(p)(35) π_(p)(36) π_(p)(37) π_(p)(38) π_(p)(39) π_(p)(40) π_(p)(41) π_(p)(42) π_(p)(43) π_(p)(44) L1-Basic 45 20 23 25 32 38 41 18 9 10 11 31 24 (all modes) 14 15 26 40 33 19 28 34 16 39 27 30 21 44 43 35 42 36 12 13 29 22 37 17 L1-Detail 16 22 27 30 37 44 20 23 25 32 38 41 Mode 1 9 10 17 18 21 33 35 14 28 12 15 19 11 24 29 34 36 13 40 43 31 26 39 42 L1-Detail 9 31 23 10 11 25 43 29 36 16 27 34 Mode 2 26 18 37 15 13 17 35 21 20 24 44 12 22 40 19 32 38 41 30 33 14 28 39 42

TABLE 10 Signaling Order of group-wise interleaving FEC Type N_(group) π_(p)(j) (18 ≤ j < 45) π_(p)(18) π_(p)(19) π_(p)(20) π_(p)(21) π_(p)(22) π_(p)(23) π_(p)(24) π_(p)(32) π_(p)(33) π_(p)(34) π_(p)(35) π_(p)(36) π_(p)(37) π_(p)(38) L1-Detail 45 19 37 30 42 23 44 27 Mode 3 26 35 39 20 18 43 31 L1-Detail 20 35 42 39 26 23 30 Mode 4 41 40 38 36 34 33 31 L1-Detail 19 37 33 26 40 43 22 Mode 5 21 39 25 42 34 18 32 L1-Detail 20 35 42 39 26 23 30 Mode 6 41 40 38 36 34 33 31 L1-Detail 44 23 29 33 24 28 21 Mode 7 43 30 25 35 20 34 39 Signaling Order of group-wise interleaving FEC Type π_(p)(j) (18 ≤ j < 45) π_(p)(25) π_(p)(26) π_(p)(27) π_(p)(28) π_(p)(29) π_(p)(30) π_(p)(31) π_(p)(39) π_(p)(40) π_(p)(41) π_(p)(42) π_(p)(43) π_(p)(44) L1-Detail 40 21 34 25 32 29 24 Mode 3 36 38 22 33 28 41 L1-Detail 18 28 37 32 27 44 43 Mode 4 29 25 24 22 21 19 L1-Detail 29 24 35 44 31 27 20 Mode 5 38 23 30 28 36 41 L1-Detail 18 28 37 32 27 44 43 Mode 6 29 25 24 22 21 19 L1-Detail 27 42 18 22 31 32 37 Mode 7 36 19 41 40 26 38

Hereinafter, for the group-wise interleaving pattern in the L1-detail mode 2 as an example, an operation of the group-wise interleaver will be described.

In the L1-detail mode 2, the LDPC encoder 315 performs LDPC encoding on 3240 LDPC information bits at a code rate of 3/15 to generate 12960 LDPC parity bits. In this case, an LDPC codeword may be formed of 16200 bits.

Each bit group is formed of 360 bits, and as a result the LDPC codeword formed of 16200 bits is divided into 45 bit groups.

Here, since the number of the LDPC information bits is 3240 and the number of the LDPC parity bits is 12960, a 0-th bit group to an 8-th bit group correspond to the LDPC information bits and a 9-th bit group to a 44-th bit group correspond to the LDPC parity bits.

In this case, the group-wise interleaver does not perform interleaving on the bit groups configuring the LDPC information bits, that is, a 0-th bit group to a 8-th bit group based on above Equation 38 and Table 9, but may interleave the bit groups configuring the LDPC parity bits, that is, a 9-th bit group to a 44-th bit group in a group unit to change an order of the 9-th bit group to the 44-th bit group.

In detail, in the L1-detail mode 2 in above Table 9, above Equation 38 may be represented like Y₀=X₀, Y₁=X₁, . . . , Y₇=X₇, Y₈=X₈, Y₉=X_(πp(9))=X₉, Y₁₀=X_(πp(10))=X₃₁, Y₁₁=X_(πp(11))=X₂₃, . . . , Y₄₂=X_(πp(42))=X₂₈, Y₄₃=X_(πp(43))=X₃₉, Y₄₄=X_(πp(44))=X₄₂.

Therefore, the group-wise interleaver does not change an order of the 0-th bit group to the 8-th bit group including the LDPC information bits but may change an order of the 9-th bit group to the 44-th bit group including the LDPC parity bits.

In detail, the group-wise interleaver may change the order of the bit groups from the 9-th bit group to the 44-th bit group so that the 9-th bit group is positioned at the 9-th position, the 31-th bit group is positioned at the 10-th position, the 23-th bit group is positioned at the 11-th position, . . . , the 28-th bit group is positioned at the 42-th position, the 39-th bit group is positioned at the 43-th position, the 42-th bit group is positioned at the 44-th position.

As described below, since the puncturers 217 and 318 perform puncturing from the last parity bit, the parity bit groups may be arranged in an inverse order of the puncturing pattern by the parity permutation. That is, the first bit group to be punctured is positioned at the last bit group.

The foregoing example describes that only the parity bits are interleaved, which is only one example. That is, the parity permutators 215 and 316 may also interleave the LDPC information bits. In this case, the parity permutators 215 and 316 may interleave the LDPC information bits with identity and output the LDPC information bits having the same order before the interleaving so that the order of the LDPC information bits is not changed.

The repeaters 216 and 317 may repeat at least some bits of the parity permutated LDPC codeword at a position subsequent to the LDPC information bits, and output the repeated LDPC codeword, that is, the LDPC codeword bits including the repetition bits, to the puncturers 217 and 318. The repeater 317 may also output the repeated LDPC codeword to the additional parity generator 319. In this case, the additional parity generator 319 may use the repeated LDPC codeword to generate the additional parity bits.

In detail, the repeaters 216 and 317 may repeat a predetermined number of LDPC parity bits after the LDPC information bits. That is, the repeaters 216 and 317 may add the predetermined number of repeated LDPC parity bits after the LDPC information bits. Therefore, the repeated LDPC parity bits are positioned between the LDPC information bits and the LDPC parity bits within the LDPC codeword.

Therefore, since the predetermined number of bits within the LDPC codeword after the repetition may be repeated and additionally transmitted to the receiver 200, the foregoing operation may be referred to as repetition.

The term “adding” represents disposing the repetition bits between the LDPC information bits and the LDPC parity bits so that the bits are repeated.

The repetition may be performed only on the L1-basic mode 1 and the L1-detail mode 1, and may not be performed on the other modes. In this case, the repeaters 216 and 317 do not perform the repetition and may output the parity permutated LDPC codeword to the puncturers 217 and 318.

Hereinafter, a method for performing repetition will be described in more detail.

The repeaters 216 and 317 may calculate a number N_(repeat) of bits additionally transmitted per an LDPC codeword based on following Equation 39. N _(repeat)=2×└C×N _(outer) ┘+D  (39)

In above Equation 39, C has a fixed number and D may be an even integer. Referring to above Equation 39, it may be appreciated that the number of bits to be repeated may be calculated by multiplying C by a given N_(outer) and adding D thereto.

The parameters C and D for the repetition may be selected based on following Table 11. That is, the repeaters 216 and 317 may determine the C and D based on a corresponding mode as shown in following Table 11.

TABLE 11 N_(ldpc) _(—) _(parity) N_(outer) K_(sig) K_(ldpc) C D (= N_(inner) − K_(ldpc)) η_(MOD) L1-Basic Mode 1 368 200 3240 0 3672 12960 2 L1-Detail Mode 1 568~2520 400~2352 3240 61/16 ~508 12960 2

Further, the repeaters 216 and 317 may repeat N_(repeat) LDPC parity bits.

In detail, when N_(repeat)≤N_(ldpc_parity), the repeaters 216 and 317 may add first N_(repeat) bits of the parity permutated LDPC parity bits to the LDPC information bits as illustrated in FIG. 13. That is, the repeaters 216 and 317 may add a first LDPC parity bit among the parity permutated LDPC parity bits as an N_(repeat)−N_(ldpc_parity)-th LDPC parity bit after the LDPC information bits.

When N_(repeat)>N_(ldpc_parity), the repeaters 216 and 317 may add the parity permutated N_(ldpc_parity) LDPC parity bits to the LDPC information bits as illustrated in FIG. 14, and may additionally add an N_(repeat)−N_(ldpc_parity) number of the parity permutated LDPC parity bits to the N_(ldpc_parity) LDPC parity bits which are first added. That is, the repeaters 216 and 317 may add all the parity permutated LDPC parity bits after the LDPC information bits and additionally add the first LDPC parity bit to the N_(repeat)−N_(ldpc_parity)-th LDPC parity bit among the parity permutated LDPC parity bits after the LDPC parity bits which are first added.

Therefore, in the L1-basic mode 1 and the L1-detail mode 1, the additional N_(repeat) bits may be selected within the LDPC codeword and transmitted.

The puncturers 217 and 318 may puncture some of the LDPC parity bits included in the LDPC codeword output from the repeaters 216 and 317, and output a punctured LDPC codeword (that is, the remaining LDPC codeword bits other than the punctured bits and also referred to as an LDPC codeword after puncturing) to the zero removers 218 and 321. Further, the puncturer 318 may provide information (for example, the number and positions of punctured bits, etc.) about the punctured LDPC parity bits to the additional parity generator 319. In this case, the additional parity generator 319 may generate additional parity bits based thereon.

As a result, after going through the parity permutation, some LDPC parity bits may be punctured.

In this case, the punctured LDPC parity bits are not transmitted in a frame in which L1 signaling bits are transmitted. In detail, the punctured LDPC parity bits are not transmitted in a current frame in which the L1-signaling bits are transmitted, and in some cases, the punctured LDPC parity bits may be transmitted in a frame before the current frame, which will be described with reference to the additional parity generator 319.

For this purpose, the puncturers 217 and 318 may determine the number of LDPC parity bits to be punctured per LDPC codeword and a size of one coded block.

In detail, the puncturers 217 and 318 may calculate a temporary number N_(punc_temp) of LDPC parity bits to be punctured based on following Equation 40. That is, for a given N_(outer), the puncturers 217 and 318 may calculate the temporary number N_(punc_temp) of LDPC parity bits to be punctured based on following Equation 40. N _(punc_temp) =└A×(K _(ldpc) −N _(outer))┘+B  (40)

Referring to above Equation 40, the temporary size of bits to be punctured may be calculated by adding a constant integer B to an integer obtained from a result of multiplying a shortening length (that is, K_(ldpc)−N_(outer)) by a preset constant A value. In the present exemplary embodiment, it is apparent that the constant A value is set at a ratio of the number of bits to be punctured to the number of bits to be shortened but may be variously set according to requirements of a system.

The B value is a value which represents a length of bits to be punctured even when the shortening length is 0, and thus, represents a minimum length that the punctured bits can have. Further, the A and B values serve to adjust an actually transmitted code rate. That is, to prepare for a case in which the length of information bits, that is, the length of the L1 signaling is short or a case in which the length of the L1 signaling is long, the A and B values serve to adjust the actually transmitted code rate to be reduced.

The above K_(ldpc), A and B are listed in following Table 12 which shows parameters for puncturing. Therefore, the puncturers 217 and 318 may determine the parameters for puncturing according to a corresponding mode as shown in following 12.

TABLE 12 Signaling FEC Type N_(outer) K_(ldpc) A B N_(ldpc) _(—) _(parity) η_(MOD) L1-Basic Mode 1 368 3240 0 9360 12960 2 Mode 2 11460 2 Mode 3 12360 2 Mode 4 12292 4 Mode 5 12350 6 Mode 6 12432 8 Mode 7 12776 8 L1-Detail Mode 1 568~2520 7/2 0 2 Mode 2 568~3240 2 6036 2 Mode 3 568~6480 6480 11/16 4653 9720 2 Mode 4 29/32 3200 4 Mode 5 3/4 4284 6 Mode 6 11/16 4900 8 Mode 7  49/256 8246 8

The puncturers 217 and 318 may calculate a temporary size N_(FEC_temp) of one coded block as shown in following Equation 41. Here, the number N_(ldpc_parity) of LDPC parity bits according to a corresponding mode is shown as above Table 12. N _(FEC_temp) =N _(outer) N _(outer) +N _(ldpc_parity) −N _(punc_temp)  (41)

Further, the puncturers 217 and 318 may calculate the size N_(FEC) of one coded block as shown in following Equation 42.

$\begin{matrix} {N_{FEC} = {\left\lceil \frac{N_{FEC\_ temp}}{\eta_{MOD}} \right\rceil \times \eta_{MOD}}} & (42) \end{matrix}$

In above Equation 42, η_(MOD) is a modulation order. For example, when the L1-basic signaling and the L1-detail signaling are modulated by QPSK, 16-QAM, 64-QAM or 256-QAM according to a corresponding mode, η_(MOD) may be 2, 4, 6 and 8 as shown in above Table 12. According to above Equation 42, N_(FEC) may be an integer multiple of the modulation order.

Further, the puncturers 217 and 318 may calculate the number N_(punc) of LDPC parity bits to be punctured based on following Equation 43. N _(punc) =N _(punc_temp)−(N _(FEC) −N _(FEC_temp))  (43)

Here, N_(punc) is 0 or a positive integer. Further, N_(FEC) is the number of bits of an information block which are obtained by subtracting N_(punc) bits to be punctured from N_(outer)+N_(ldpc_parity) bits obtained by performing the BCH encoding and the LDPC encoding on K_(sig) information bits. That is, N_(FEC) is the number of bits other than the repetition bits among the actually transmitted bits, and may be called the number of shortened and punctured LDPC codeword bits.

Referring to the foregoing process, the puncturers 217 and 318 multiplies A by the number of padded zero bits, that is, a shortening length and adding B to a result to calculate the temporary number N_(punc_temp) of LDPC parity bits to be punctured.

Further, the puncturers 217 and 318 calculate the temporary number N_(FEC_temp) of LDPC codeword bits to constitute the LDPC codeword after puncturing and shortening based on the N_(punc_temp).

In detail, the LDPC information bits are LDPC-encoded, and the LDPC parity bits generated by the LDPC encoding are added to the LDPC information bits to configure the LDPC codeword. Here, the LDPC information bits include the BCH-encoded bits in which the L1-basic signaling and the L1-detail signaling are BCH encoded, and in some cases, may further include padded zero bits.

In this case, since the padded zero bits are LDPC-encoded, and then, are not transmitted to the receiver 200, the shortened LDPC codeword, that is, the LDPC codeword (that is, shortened LDPC codeword) except the padded zero bits may be formed of the BCH-encoded bits and LDPC parity bits.

Therefore, the puncturers 217 and 318 subtract the temporary number of LDPC parity bits to be punctured from a sum of the number of BCH-encoded bits and the number of LDPC parity bits to calculate the N_(FEC_temp).

The punctured and shortened LDPC codeword (that is, LDPC codeword bits remaining after puncturing and shortening) are mapped to constellation symbols by various modulation schemes such as QPSK, 16-QAM, 64-QAM or 256-QAM according to a corresponding mode, and the constellation symbols may be transmitted to the receiver 200 through a frame.

Therefore, the puncturers 217 and 318 determine the number N_(FEC) of LDPC codeword bits to constitute the LDPC codeword after puncturing and shortening based on N_(FEC_temp), N_(FEC) being an integer multiple of the modulation order, and determine the number N_(punc) of bits which need to be punctured based on LDPC codeword bits after shortening to obtain the N_(FEC).

When zero bits are not padded, an LDPC codeword may be formed of BCH-encoded bits and LDPC parity bits, and the shortening may be omitted.

Further, in the L1-basic mode 1 and the L1-detail mode 1, repetition is performed, and thus, the number of shortened and punctured LDPC codeword bits is equal to N_(FEC)+N_(repeat).

The puncturers 217 and 318 may puncture the LDPC parity bits as many as the calculated number.

In this case, the puncturers 217 and 318 may puncture the last N_(punc) bits of all the LDPC codewords. That is, the puncturers 217 and 318 may puncture the N_(punc) bits from the last LDPC parity bits.

In detail, when the repetition is not performed, the parity permutated LDPC codeword includes only LDPC parity bits generated by the LDPC encoding.

In this case, the puncturers 217 and 318 may puncture the last N_(punc) bits of all the parity permutated LDPC codewords. Therefore, the N_(punc) bits from the last LDPC parity bits among the LDPC parity bits generated by the LDPC encoding may be punctured.

When the repetition is performed, the parity permutated and repeated LDPC codeword includes the repeated LDPC parity bits and the LDPC parity bits generated by the LDPC encoding.

In this case, the puncturers 217 and 318 may puncture the last N_(punc) bits of all the parity permutated and repeated LDPC codewords, respectively, as illustrated in FIGS. 15 and 16.

In detail, the repeated LDPC parity bits are positioned between the LDPC information bits and the LDPC parity bits generated by the LDPC encoding, and thus, the puncturers 217 and 318 may puncture the N_(punc) bits from the last LDPC parity bits among the LDPC parity bits generated by the LDPC encoding, respectively.

As such, the puncturers 217 and 318 may puncture the N_(punc) bits from the last LDPC parity bits, respectively.

N_(punc) is 0 or a positive integer and the repetition may be applied only to the L1-basic mode 1 and the L1-detail mode 1.

The foregoing example describes that the repetition is performed, and then, the puncturing is performed, which is only one example. In some cases, after the puncturing is performed, the repetition may be performed.

The additional parity generator 319 may select bits from the LDPC parity bits to generate additional parity (AP) bits.

In this case, the additional parity bits may be selected from the LDPC parity bits generated based on the L1-detail signaling transmitted in a current frame, and transmitted to the receiver 200 through a frame before the current frame, that is, a previous frame.

In detail, the L1-detail signaling is LDPC-encoded, and the LDPC parity bits generated by the LDPC encoding are added to the L1-detail signaling to configure an LDPC codeword.

Further, puncturing and shortening are performed on the LDPC codeword, and the punctured and shortened LDPC codeword may be mapped to a frame to be transmitted to the receiver 200. Here, when the repetition is performed according to a corresponding mode, the punctured and shortened LDPC codeword may include the repeated LDPC parity bits.

In this case, the L1-detail signaling corresponding to each frame may be transmitted to the receiver 200 through each frame, along with the LDPC parity bits. For example, the punctured and shortened LDPC codeword including the L1-detail signaling corresponding to an (i−1)-th frame may be mapped to the (i−1)-th frame to be transmitted to the receiver 200, and the punctured and shortened LDPC codeword including the L1-detail signaling corresponding to the i-th frame may be mapped to the i-th frame to be transmitted to the receiver 200.

The additional parity generator 319 may select at least some of the LDPC parity bits generated based on the L1-detail signaling transmitted in the i-th frame to generate the additional parity bits.

In detail, some of the LDPC parity bits generated by performing the LDPC encoding on the L1-detail signaling are punctured, and then, are not transmitted to the receiver 200. In this case, the additional parity generator 319 may select at least some of the punctured LDPC parity bits among the LDPC parity bits generated by performing the LDPC encoding on the L1-detail signaling transmitted in the i-th frame, thereby generating the additional parity bits.

Further, the additional parity generator 319 may select at least some of the LDPC parity bits to be transmitted to the receiver 200 through the i-th frame to generate the additional parity bits.

In detail, the LDPC parity bits included in the punctured and shortened LDPC codeword to be mapped to the i-th frame may be configured of only the LDPC parity bits generated by the LDPC encoding according to a corresponding mode or the LDPC parity bits generated by the LDPC encoding and the repeated LDPC parity bits.

In this case, the additional parity generator 319 may select at least some of the LDPC parity bits included in the punctured and shortened LDPC codeword to be mapped to the i-th frame to generate the additional parity bits.

The additional parity bits may be transmitted to the receiver 200 through the frame before the i-th frame, that is, the (i−1)-th frame.

That is, the transmitter 100 may not only transmit the punctured and shortened LDPC codeword including the L1-detail signaling corresponding to the (i−1)-th frame but also transmit the additional parity bits generated based on the L1-detail signaling transmitted in the i-th frame to the receiver 200 through the (i−1)-th frame.

In this case, the frame in which the additional parity bits are transmitted may be temporally the most previous frame among the frames before the current frame.

For example, the additional parity bits have the same bootstrap major/minor version as the current frame among the frames before the current frame, and may be transmitted in temporally the most previous frame.

In some cases, the additional parity generator 319 may not generate the additional parity bits.

In this case, the transmitter 100 may transmit information about whether additional parity bits for an L1-detail signaling of a next frame are transmitted through the current frame to the receiver 200 using an L1-basic signaling transmitted through the current frame.

For example, the use of the additional parity bits for the L1-detail signaling of the next frame having the same bootstrap major/minor version as the current frame may be signaled through a field L1B_L1_Detail_additional_parity_mode of the L1-basic parameter of the current frame. In detail, when the L1B_L1_Detail_additional_parity_mode in the L1-basic parameter of the current frame is set to be ‘00’, additional parity bits for the L1-detail signaling of the next frame are not transmitted in the current frame.

As such, to additionally increase robustness of the L1-detail signaling, the additional parity bits may be transmitted in the frame before the current frame in which the L1-detail signaling of the current frame is transmitted.

FIG. 17 illustrates an example in which the additional parity bits for the L1-detail signaling of the i-th frame are transmitted in a preamble of the (i−1)-th frame.

FIG. 17 illustrates that the L1-detail signaling transmitted through the i-th frame is segmented into M blocks by segmentation and each of the segmented blocks is FEC encoded.

Therefore, M number of LDPC codewords, that is, an LDPC codeword including LDPC information bits L1-D(i)_1 and parity bits parity for L1-D(i)_1 therefor, . . . , and an LDPC codeword including LDPC information bits L1-D(i)_M and parity bits parity for L1-D(i)_M therefor are mapped to the i-th frame to be transmitted to the receiver 200.

In this case, the additional parity bits generated based on the L1-detail signaling transmitted in the i-th frame may be transmitted to the receiver 200 through the (i−1)-th frame.

In detail, the additional parity bits, that is, AP for L1-D(i)_1, . . . AP for L1-D(i)_M generated based on the L1-detail signaling transmitted in the i-th frame may be mapped to the preamble of the (i−1)-th frame to be transmitted to the receiver 200. As a result of using the additional parity bits, a diversity gain for the L1 signaling may be obtained.

Hereinafter, a method for generating additional parity bits will be described in detail.

The additional parity generator 319 calculates a temporary number N_(AP_temp) of additional parity bits based on following Equation 44.

$\begin{matrix} {{N_{AP\_ temp} = {\min\begin{Bmatrix} {{0.5 \times K \times \left( {N_{outer} + N_{ldpc\_ parity} - N_{punc} + N_{repeat}} \right)},} \\ \left( {N_{ldpc\_ parity} + N_{punc} + N_{repeat}} \right) \end{Bmatrix}}},{K = 0},1,2} & (44) \end{matrix}$

In above Equation 44,

${\min\left( {a,b} \right)} = \left\{ {\begin{matrix} {a,{{{if}\mspace{14mu} a} \leq b}} \\ {b,{{{if}\mspace{14mu} b} < a}} \end{matrix}.} \right.$

Further, K represents a ratio of the additional parity bits to a half of a total number of bits of a transmitted coded L1-detail signaling block (that is, bits configuring the L1-detail signaling block repeated, punctured, and have the zero bits removed (that is, shortened)).

In this case, K corresponds to an L1B_L1_Detail_additional_parity_mode field of the L1-basic signaling. Here, a value of the L1B_L1_Detail_additional_parity_mode associated with the L1-detail signaling of the i-th frame (that is, frame (#i)) may be transmitted in the (i−1)-th frame (that is, frame (#i−1)).

As described above, when L1 detail modes are 2, 3, 4, 5, 6 and 7, since repetition is not performed, in above Equation 44, N_(repeat) is 0.

Further, the additional parity generator 319 calculates the number N_(AP) of additional parity bits based on following Equation 45. Therefore, the number N_(AP) of additional parity bits may be an integer multiple of a modulation order.

$\begin{matrix} {N_{AP} = {\left\lfloor \frac{N_{{AP}{\_ temp}}}{\eta_{MOD}} \right\rfloor \times \eta_{MOD}}} & (45) \end{matrix}$

Here, └x┘ is a maximum integer which is not greater than x. Here, η_(MOD) is the modulation order. For example, when the L1-detail signaling is modulated by QPSK, 16-QAM, 64-QAM or 256-QAM according to a corresponding mode, the η_(MOD) may be 2, 4, 6 or 8, respectively.

As such, the number of additional parity bits to be generated may be determined based on the total number of bits transmitted in the current frame.

Next, the additional parity generator 319 may select bits as many as the number of bits calculated in the LDPC parity bits to generate the additional parity bits.

In detail, when the number of punctured LDPC parity bits is equal to or greater than the number of additional parity bits to be generated, the additional parity generator 319 may select bits as many as the calculated number from the first LDPC parity bit among the punctured LDPC parity bits to generate the additional parity bits.

When the number of punctured LDPC parity bits is less than the number of additional parity bits to be generated, the additional parity generator 319 may first select all the punctured LDPC parity bits and additionally select bits as many as the number obtained by subtracting the number of punctured LDPC parity bits from the number of additional parity bits to be generated, from the first LDPC parity bit among the LDPC parity bits included in the LDPC codeword to generate the additional parity bits.

In detail, when the repetition is not performed, LDPC parity bits included in a repeated LDPC codeword are the LDPC parity bits generated by the LDPC encoding.

In this case, the additional parity generator 319 may first select all the punctured LDPC parity bits and additionally select bits as many as the number obtained by subtracting the number of punctured LDPC parity bits from the number of additional parity bits to be generated, from the first LDPC parity bit among the LDPC parity bits generated by the LDPC encoding, to generate the additional parity bits.

Here, the LDPC parity bits generated by the LDPC encoding are divided into the non-punctured LDPC parity bits and the punctured LDPC parity bits. As a result, when bits are selected from the first bit among the LDPC parity bits generated by the LDPC encoding, they may be selected in an order of the non-punctured LDPC parity bits and the punctured LDPC parity bits.

When the repetition is performed, the LDPC parity bits included in the repeated LDPC codeword are the repeated LDPC parity bits and the LDPC parity bits generated by the LDPC encoding. Here, the repeated LDPC parity bits are positioned between the LDPC information bits and the LDPC parity bits generated by the LDPC encoding.

In this case, the additional parity generator 319 may first select all the punctured LDPC parity bits and additionally select the bits as many as the number obtained by subtracting the number of punctured LDPC parity bits from the number of additional bits, from the first LDPC parity bit among the repeated LDPC parity bits to generate the additional parity bits.

Here, when the bits are selected from the first bit among the repeated LDPC parity bits, they may be selected in an order of the repetition bits and the LDPC parity bits generated by the LDPC encoding. Further, the bits may be selected in an order of the non-punctured LDPC parity bits and the punctured LDPC parity bits, within the LDPC parity bits generated by the LDPC encoding.

Hereinafter, methods for generating additional parity bits according to exemplary embodiments will be described in more detail with reference to FIGS. 18 to 20.

FIGS. 18 to 20 are diagrams for describing the method for generating additional parity bits when repetition is performed, according to the exemplary embodiment. In this case, the repeated LDPC codeword V=(v₀, v₁, . . . v_(N) _(inner) _(+N) _(repeat) ⁻¹) may be represented as illustrated in FIG. 18.

First, in the case of N_(AP)≤N_(punc), as illustrated in FIG. 19, the additional parity generator 319 may select N_(AP) bits from the first LDPC parity bit among punctured LDPC parity bits to generate the additional parity bits.

Therefore, for the additional parity bits, the punctured LDPC parity bits (v_(N) _(repeat) _(+N) _(inner) _(−N) _(punc) , v_(N) _(repeat) _(+N) _(inner) _(−N) _(punc) ₊₁, . . . , v_(N) _(repeat) _(+N) _(inner) _(−N) _(punc) _(−N) _(AP) ⁻¹) may be selected. That is, the additional parity generator 319 may select N_(AP) bits from the first LDPC parity bit among the punctured LDPC parity bits to generate the additional parity bits.

Meanwhile, in the case of N_(AP)>N_(punc), as illustrated in FIG. 20, the additional parity generator 319 selects all the punctured LDPC parity bits.

Therefore, for the additional parity bits, all the punctured LDPC parity bits (v_(N) _(repeat) _(+N) _(inner) _(−N) _(punc) , v_(N) _(repeat) _(+N) _(inner) _(−N) _(punc) ₊₁, . . . , v_(N) _(repeat) _(+N) _(inner) ⁻¹) may be selected.

Further, the additional parity generator 319 may additionally select first N_(AP)−N_(punc) bits from the LDPC parity bits including the repeated LDPC parity bits and the LDPC parity bits generated by the LDPC encoding.

That is, since the repeated LDPC parity bits and the LDPC parity bits generated by the LDPC encoding are sequentially arranged, the additional parity generator 319 may additionally select the N_(AP)−N_(pun), parity bits from the first LDPC parity bit among the LDPC parity bits added by the repetition.

Therefore, for the additional parity bits, the LDPC parity bits (v_(K) _(ldpc) , v_(K) _(ldpc) ₊₁, . . . , v_(K) _(ldpc) _(+N) _(AP) _(−N) _(punc) ⁻¹) may be additionally selected.

In this case, the additional parity generator 319 may add the additionally selected bits to the previously selected bits to generate the additional parity bits. That is, as illustrated in FIG. 20, the additional parity generator 319 may add the additionally selected LDPC parity bits to the punctured LDPC parity bits to generate the additional parity bits.

As a result, for the additional parity bits, (v_(N) _(repeat) _(+N) _(inner) _(−N) _(punc) , v_(N) _(repeat) _(+N) _(inner) _(−N) _(punc) ₊₁, . . . , v_(N) _(repeat) _(+N) _(inner) ⁻¹, v_(K) _(ldpc) ₊₁, . . . , v_(K) _(ldpc) _(+N) _(AP) _(−N) _(punc) ⁻¹) may be selected.

As such, when the number of punctured bits is equal to or greater than the number of additional parity bits, the additional parity bits may be generated by selecting bits among the punctured bits based on the puncturing order. However, in other cases, the additional parity bits may be generated by selecting all the punctured bits and the N_(AP)−N_(punc) parity bits.

Since N_(repeat)=0 when repetition is not performed, the method for generating additional parity bits when the repetition is not performed is the same as the case in which N_(repeat)=1 in FIGS. 18 to 20.

The additional parity bits may be bit-interleaved, and may be mapped to constellation. In this case, the constellation for the additional parity bits may be generated by the same method as constellation for the L1-detail signaling bits transmitted in the current frame, in which the L1-detail signaling bits are repeated, punctured, and have the zero bits removed. Further, as illustrated in FIG. 18, after being mapped to the constellation, the additional parity bits may be added after the L1-detail signaling block in a frame before the current frame in which the L1-detail signaling of the current frame is transmitted.

The additional parity generator 319 may output the additional parity bits to a bit demultiplexer 323.

As described above in reference to Tables 9 and 10, the group-wise interleaving pattern defining the permutation order may have two patterns: a first pattern and a second pattern.

In detail, since the B value of above Equation 40 represents the minimum length of the LDPC parity bits to be punctured, the predetermined number of bits may be always punctured depending on the B value regardless of the length of the input signaling. For example, in the L1-detail mode 2, since B=6036 and the bit group is formed of 360 bits, even when the shortening length is 0, at least

$\left\lfloor \frac{6036}{360} \right\rfloor = 16$ bit groups are always punctured.

In this case, since the puncturing is performed from the last LDPC parity bit, the predetermined number of bit groups from a last bit group among the plurality of bit groups configuring the group-wise interleaved LDPC parity bits may be always punctured regardless of the shortening length.

For example, in the L1-detail mode 2, the last 16 bit groups among 36 bit groups configuring the group-wise interleaved LDPC parity bits may be always punctured.

As a result, some of the group-wise interleaving patterns defining the permutation order represent bit groups always to punctured, and therefore, the group-wise interleaving pattern may be divided into two patterns. In detail, a pattern defining the remaining bit groups other than the bit groups to be always punctured in the group-wise interleaving pattern is referred to as the first pattern, and the pattern defining the bit groups to be always punctured is referred to as the second pattern.

For example, in the L1-detail mode 2, since the group-wise interleaving pattern is defined as above Table 9, a pattern representing indexes of bit groups which are not group-wise interleaved and positioned in a 9-th bit group to a 28-th bit group after group-wise interleaving, that is, Y₉=X_(πp(9))=X₉, Y₁₀=X_(πp(10))=X₃₁, Y₁₁=X_(πp(11))=X₂₃, . . . , Y₂₆=X_(πp(26))=X₁₇, Y₂₇=X_(πp(27))=X₃₅, Y₂₈=X_(πp(28))=X₂₁ may be the first pattern, and a pattern representing indexes of bit groups which are not group-wise interleaved and positioned in a 29-th bit group to a 44-th bit group after group-wise interleaving, that is, Y₂₉=X_(πp(29))=X₂₀, Y₃₀=X_(πp(30))=X₂₄, Y₃₁=X_(πp(31))=X₄₄, . . . , Y₄₂=X_(πp(42))=X₂₈, Y₄₃=X_(πp(43))=X₃₉, Y₄₄=X_(πp(44))=X₄₂ may be the second pattern.

As described above, the second pattern defines bit groups to be always punctured in a current frame regardless of the shortening length, and the first pattern defines bit groups additionally to be punctured as the shortening length is long, such that the first pattern may be used to determine the LDPC parity bits to be transmitted in the current frame after the puncturing.

In detail, according to the number of LDPC parity bits to be punctured, in addition to the LDPC parity bits to be always punctured, more LDPC parity bits may additionally be punctured.

For example, in the L1-detail mode 2, when the number of LDPC parity bits to be punctured is 7200, 20 bit groups need to be punctured, and thus, four (4) bit groups need to be additionally punctured, in addition to the 16 bit groups to be always punctured.

In this case, the additionally punctured four (4) bit groups correspond to the bit groups positioned at 25-th to 28-th positions after group-wise interleaving, and since these bit groups are determined according to the first pattern, that is, belong to the first pattern, the first pattern may be used to determine the punctured bit groups.

That is, when LDPC parity bits are punctured more than a minimum value of LDPC parity bits to be punctured, which bit groups are to be additionally punctured is determined according to which bit groups are positioned after the bit groups to be always punctured. As a result, according to a puncturing direction, the first pattern which defines the bit groups positioned after the bit groups to be always punctured may be considered as determining the punctured bit groups.

That is, as in the foregoing example, when the number of LDPC parity bits to be punctured is 7200, in addition to the 16 bit groups to be always punctured, four (4) bit groups, that is, the bit groups positioned at 28-th, 27-th, 26-th, and 25-th positions, after group-wise interleaving is performed, are additionally punctured. Here, the bit groups positioned at 25-th to 28-th positions after the group-wise interleaving are determined according to the first pattern.

As a result, the first pattern may be considered as being used to determine the bit groups to be punctured. Further, the remaining LDPC parity bits other than the punctured LDPC parity bits are transmitted through the current frame, and therefore, the first pattern may be considered as being used to determine the bit groups transmitted in the current frame.

The second pattern may be used to determine the additional parity bits to be transmitted in the previous frame.

In detail, since the bit groups determined to be always punctured are always punctured, and then, are not transmitted in the current frame, these bit groups need to be positioned only where bits are always punctured after group-wise interleaving. Therefore, it is not important at which position of these bit groups are positioned after the group-wise interleaving.

For example, in the L1-detail mode 2, bit groups positioned at 20-th, 24-th, 44-th, . . . , 28-th, 39-th and 42-th positions before the group-wise interleaving need to be positioned only at a 29-th bit group to a 44-th bit group after the group-wise interleaving. Therefore, it is not important at which positions of these bit groups are positioned.

As such, the second pattern defining bit groups to be always punctured is used to identify bit groups to be punctured. Therefore, defining an order between the bit groups in the second pattern is meaningless in the puncturing, and thus, the second pattern defining bit groups to be always punctured may be considered as not being used for the puncturing.

However, for determining additional parity bits, positions of the bit groups to be always punctured within these bit groups need to be considered.

In detail, since the additional parity bits are generated by selecting bits as many as a predetermined number from the first bit among the punctured LDPC parity bits, bits included in at least some of the bit groups to be always punctured may be selected as at least some of the additional parity bits depending on the number of punctured LDPC parity bits and the number of additional parity bits to be generated.

That is, when additional parity bits are selected over the number of bit groups defined according to the first pattern, since the additional parity bits are sequentially selected from a start portion of the second pattern, the order of the bit groups belonging to the second pattern is meaningful in terms of selection of the additional parity bits. As a result, the second pattern defining bit groups to be always punctured may be considered as being used to determine the additional parity bits.

For example, in the L1-detail mode 2, the total number of LDPC parity bits is 12960 and the number of bit groups to be always punctured is 16.

In this case, the second pattern may be used to generate the additional parity bits depending on whether a value obtained by subtracting the number of LDPC parity bits to be punctured from the number of all LDPC parity bits and adding the subtraction result to the number of additional parity bits to be generated exceeds 7200. Here, 7200 is the number of LDPC parity bits except the bit groups to be always punctured, among the bit groups configuring the LDPC parity bits. That is, 7200=(36−16)×360.

In detail, when the value obtained by the above subtraction and addition is equal to or less than 7200, that is, 12960−N_(punc)+N_(AP)≤7200, the additional parity bits may be generated according to the first pattern.

However, when the value obtained by the above subtraction and addition exceeds 7200, that is, 12960−N_(punc)+N_(AP)>7200, the additional parity bits may be generated according to the first pattern and the second pattern.

In detail, when 12960−N_(punc)+N_(AP)>7200, for the additional parity bits, bits included in the bit group positioned at a 28-th position from the first LDPC parity bit among the punctured LDPC parity bits may be selected, and bits included in the bit group positioned at a predetermined position from a 29-th position may be selected.

Here, the bit group to which the first LDPC parity bit among the punctured LDPC parity bits belongs and the bit group (that is, when being sequentially selected from the first LDPC parity bit among the punctured LDPC parity bits, a bit group to which the finally selected LDPC parity bits belong) at the predetermined position may be determined depending on the number of punctured LDPC parity bits and the number of additional parity bits to be generated.

In this case, the bit group positioned at the 28-th position from the firth LDPC parity bit among the punctured LDPC parity bits is determined according to the first pattern, and the bit group positioned at the predetermined position from the 29-th position is determined according to the second pattern.

As a result, the additional parity bits are determined according to the first pattern and the second pattern.

As such, the first pattern may be used to determine additional parity bits to be generated as well as LDPC parity bits to be punctured, and the second pattern may be used to determine the additional parity bits to be generated and LDPC parity bits to be always punctured regardless of the number of parity bits to be punctured by the puncturers 217 and 318.

The foregoing example describes that the group-wise interleaving pattern includes the first pattern and the second pattern, which is only for convenience of explanation in terms of the puncturing and the additional parity. That is, the group-wise interleaving pattern may be considered as one pattern without being divided into the first pattern and the second pattern. In this case, the group-wise interleaving may be considered as being performed with one pattern both for the puncturing and the additional parity.

The values used in the foregoing example such as the number of punctured LDPC parity bits are only example values.

The zero removers 218 and 321 may remove zero bits padded by the zero padders 213 and 314 from the LDPC codewords output from the puncturers 217 and 318, and output the remaining bits to the bit demultiplexers 219 and 322.

Here, the removal does not only remove the padded zero bits but also may include outputting the remaining bits other than the padded zero bits in the LDPC codewords.

In detail, the zero removers 218 and 321 may remove K_(ldpc)−N_(outer) zero bits padded by the zero padders 213 and 314. Therefore, the K_(ldpc)−N_(outer) padded zero bits are removed, and thus, may not be transmitted to the receiver 200.

For example, as illustrated in FIG. 21, it is assumed that all bits of a first bit group, a fourth bit group, a fifth bit group, a seventh bit group, and an eighth bit group among a plurality of bit groups configuring an LDPC codeword are padded by zero bits, and some bits of the second bit group are padded by zero bits.

In this case, the zero removers 218 and 321 may remove the zero bits padded to the first bit group, the second bit group, the fourth bit group, the fifth bit group, the seventh bit group, and the eighth bit group.

As such, when zero bits are removed, as illustrated in FIG. 21, an LDPC codeword formed of K_(sig) information bits (that is, K_(sig) L1-basic signaling bits and K_(sig) L1-detail signaling bits), 168 BCH parity check bits (that is, BCH FEC), and N_(inner)−K_(ldpc)−N_(punc) or N_(inner)−K_(ldpc)−N_(punc)+N_(repeat) parity bits may remain.

That is, when repetition is performed, the lengths of all the LDPC codewords become N_(FEC)+N_(repeat). Here, N_(FEC)=N_(outer)+N_(ldpc_parity)−N_(punc). However, in a mode in which the repetition is not performed, the lengths of all the LDPC codewords become N_(FEC).

The bit demultiplexers 219 and 322 may interleave the bits output from the zero removers 218 and 321, demultiplex the interleaved bits, and then output them to the constellation mappers 221 and 324.

For this purpose, the bit demultiplexers 219 and 322 may include a block interleaver (not illustrated) and a demultiplexer (not illustrated).

First, a block interleaving scheme performed in the block interleaver is illustrated in FIG. 22.

In detail, the bits of the N_(FEC) or N_(FEC)+N_(repeat) length after the zero bits are removed may be column-wisely serially written in the block interleaver. Here, the number of columns of the block interleaver is equivalent to the modulation order and the number of rows is N_(FEC)/η_(MOD) or (N_(FEC)+N_(repeat))/η_(MOD).

Further, in a read operation, bits for one constellation symbol may be sequentially read in a row direction to be input to the demultiplexer. The operation may be continued to the last row of the column.

That is, the N_(FEC) or (N_(FEC)+N_(repeat)) bits may be written in a plurality of columns in a column direction from the first row of the first column, and the bits written in the plurality of columns are sequentially read from the first row to the last row of the plurality of columns in a row direction. In this case, the bits read in the same row may configure one modulation symbol.

The demultiplexer may demultiplex the bits output from the block interleaver.

In detail, the demultiplexer may demultiplex each of the block-interleaved bit groups, that is, the bits output while being read in the same row of the block interleaver within the bit group bit-by-bit, before the bits are mapped to constellation.

In this case, two mapping rules may be present according to the modulation order.

In detail, when QPSK is used for modulation, since reliability of bits within a constellation symbol is the same, the demultiplexer does not perform the demultiplexing operation on a bit group. Therefore, the bit group read and output from the block interleaver may be mapped to a QPSK symbol without the demultiplexing operation.

However, when high order modulation is used, the demultiplexer may perform demultiplexing on a bit group read and output from the block interleaver based on following Equation 46. That is, a bit group may be mapped to a QAM symbol depending on following Equation 46. S _(demux_in(i)) ={b _(i)(0),b _(i)(1),b _(i)(2), . . . ,b _(i)(η_(MOD)−1)}, S _(demux_out(i)) ={c _(i)(0),c _(i)(1),c _(i)(2), . . . ,c _(i)(η_(MOD)−1)}, c _(i)(0)=b _(i)(i%η_(MOD)),c _(i)(1)=b _(i)((i+1)% η_(MOD)), . . . ,c _(i)(η_(MOD)−1)=b _(i)((i+η _(MOD)−1)%η_(MOD))  (46)

In above Equation 46, % % represents a modulo operation, and η_(MOD) is a modulation order.

Further, i is a bit group index corresponding to a row index of the block interleaver. That is, an output bit group S_(demux_out(i)) mapped to each of the QAM symbols may be cyclic-shifted in an S_(demux_in(i)) according to the bit group index i.

FIG. 23 illustrates an example of performing bit demultiplexing on 16-non uniform constellation (16-NUC), that is, NUC 16-QAM. The operation may be continued until all bit groups are read in the block interleaver.

The bit demultiplexer 323 may perform the same operation, as the operations performed by the bit demultiplexers 219 and 322, on the additional parity bits output from the additional parity generator 319, and output the block-interleaved and demultiplexed bits to the constellation mapper 325.

The constellation mappers 221, 324 and 325 may map the bits output from the bit demultiplexers 219, 322 and 323 to constellation symbols, respectively.

That is, each of the constellation mappers 221, 324 and 325 may map the S_(demux_out(i)) to a cell word using constellation according to a corresponding mode. Here, the S_(demux_out(i)) may be configured of bits having the same number as the modulation order.

In detail, the constellation mappers 221, 324 and 325 may map bits output from the bit demultiplexers 219, 322 and 323 to constellation symbols using QPSK, 16-QAM, 64-QAM, the 256-QAM, etc., according to a corresponding mode.

In this case, the constellation mappers 221, 324 and 325 may use the NUC. That is, the constellation mappers 221, 324 and 325 may use NUC 16-QAM, NUC 64-QAM or NUC 256-QAM. The modulation scheme applied to the L1-basic signaling and the L1-detail signaling according to a corresponding mode is shown in above Table 4.

Meanwhile, the transmitter 100 may map the constellation symbols to the frame and transmit the mapped symbols to the receiver 200.

In detail, the transmitter 100 may map the constellation symbols corresponding to each of the L1-basic signaling and the L1-detail signaling output from the constellation mappers 221 and 324 and map the constellation symbols corresponding to the additional parity bits output from the constellation mapper 325 to the preamble symbol of the frame.

In this case, the transmitter 100 may map the additional parity bits generated based on the L1-detail signaling transmitted in the current frame to a frame before the corresponding frame.

That is, the transmitter 100 may map the LDPC codeword bits including the L1-basic signaling corresponding to the i−1-th frame to the i−1-th frame, maps the LDPC codeword bits including the L1-detail signaling corresponding to the i−1-th frame to the i−1-th frame, and additionally map the additional parity bits generated by being selected from the LDPC parity bits generated based on the L1-detail signaling corresponding to the i-th frame to the i−1-th frame and may transmit the mapped bits to the receiver 200.

In addition, the transmitter 100 may map data to the data symbols of the frame in addition to the L1 signaling and transmit the frame including the L1 signaling and the data to the receiver 200.

In this case, since the L1 signalings include the signaling information on the data, the signaling on the data mapped to each data may be mapped to the preamble of the corresponding frame. For example, the transmitter 100 may map the L1 signaling including the signaling information for the data mapped to the i-th frame to the i-th frame.

As a result, the receiver 200 may use the signaling acquired from the frame to acquire and process the data from the corresponding frame.

FIGS. 24 and 25 are block diagrams for describing a configuration of a receiver according to an exemplary embodiment.

In detail, as illustrated in FIG. 24, the receiver 200 may include a constellation demapper 2410, a multiplexer 2420, a Log Likelihood Ratio (LLR) inserter 2430, an LLR combiner 2440, a parity depermutator 2450, an LDPC decoder 2460, a zero remover 2470, a BCH decoder 2480, and a descrambler 2490 to process the L1-basic signaling.

Further, as illustrated in FIG. 25, the receiver 200 may include constellation demappers 2511 and 2512, multiplexers 2521 and 2522, an LLR inserter 2530, an LLR combiner 2540, a parity depermutator 2550, an LDPC decoder 2560, a zero remover 2570, a BCH decoder 2580, a descrambler 2590, and a desegmenter 2595 to process the L1-detail signaling.

Here, the components illustrated in FIGS. 24 and 25 are components performing functions corresponding to the function of components illustrated in FIGS. 8 and 9, respectively, which is only an example, and in some cases, some of the components may be omitted and changed and other components may be added.

The receiver 200 may acquire frame synchronization using a bootstrap of a frame and receive L1-basic signaling from a preamble of the frame using information for processing the L1-basic signaling included in the bootstrap.

Further, the receiver 200 may receive L1-detail signaling from the preamble using information for processing the L1-detail signaling included in the L1-basic signaling, and receive broadcasting data required by a user from data symbols of the frame using the L1-detail signaling.

Therefore, the receiver 200 may determine a mode used at the transmitter 100 to process the L1-basic signaling and the L1-detail signaling, and process a signal received from the transmitter 100 according to the determined mode to receive the L1-basic signaling and the L1-detail signaling. For this purpose, the receiver 200 may pre-store information about parameters used at the transmitter 100 to process the signaling according to corresponding modes.

As such, the L1-basic signaling and the L1-detail signaling may be sequentially acquired from the preamble. In describing FIGS. 24 and 25, components performing common functions will be described together for convenience of explanation.

The constellation demappers 2510, 2611 and 2612 demodulate a signal received from the transmitter 100.

In detail, the constellation demappers 2510, 2611 and 2612 are components corresponding to the constellation mappers 221, 324 and 325 of the transmitter 100, respectively, and may demodulate the signal received from the transmitter 100 and generate values corresponding to bits transmitted from the transmitter 100.

That is, as described above, the transmitter 100 maps an LDPC codeword including the L1-basic signaling and the LDPC codeword including the L1-detail signaling to the preamble of a frame, and transmits the mapped LDPC codeword to the receiver 200. Further, in some cases, the transmitter 100 may map additional parity bits to the preamble of a frame and transmit the mapped bits to the receiver 200.

As a result, the constellation demappers 2510 and 2611 may generate values corresponding to the LDPC codeword bits including the L1-basic signaling and the LDPC codeword bits including the L1-detail signaling. Further, the constellation demapper 2612 may generate values corresponding to the additional parity bits.

For this purpose, the receiver 200 may pre-store information about a modulation scheme used by the transmitter 100 to modulate the L1-basic signaling, the L1-detail signaling, and the additional parity bits according to corresponding modes. Therefore, the constellation demappers 2510, 2611 and 2612 may demodulate the signal received from the transmitter 100 according to the corresponding modes to generate values corresponding to the LDPC codeword bits and the additional parity bits.

The value corresponding to a bit transmitted from the transmitter 100 is a value calculated based on probability that a received bit is 0 and 1, and instead, the probability itself may also be used as a value corresponding to each bit. The value may also be a Likelihood Ratio (LR) or an LLR value as another example.

In detail, an LR value may represent a ratio of probability that a bit transmitted from the transmitter 100 is 0 and probability that the bit is 1, and an LLR value may represent a value obtained by taking a log on probability that the bit transmitted from the transmitter 100 is 0 and probability that the bit is 1.

The foregoing example uses the LR value or the LLR value, which is only one example. According to another exemplary embodiment, the received signal itself rather than the LR or LLR value may also be used.

The multiplexers 2520, 2621 and 2622 perform multiplexing on LLR values output from the constellation demappers 2510, 2611 and 2612.

In detail, the multiplexers 2520, 2621 and 2622 are components corresponding to the bit demultiplexers 219, 322 and 323 of the transmitter 100, and may perform operations corresponding to the operations of the bit demultiplexers 219, 322 and 323, respectively.

For this purpose, the receiver 200 may pre-store information about parameters used for the transmitter 100 to perform demultiplexing and block interleaving. Therefore, the multiplexers 2520, 2621 and 2622 may reversely perform the demultiplexing and block interleaving operations of the bit demultiplexers 219, 322 and 323 on the LLR value corresponding to a cell word to multiplex the LLR value corresponding to the cell word in a bit unit.

The LLR inserters 2530 and 2630 may insert LLR values for the puncturing and shortening bits into the LLR values output from the multiplexers 2520 and 2621, respectively. In this case, the LLR inserters 2530 and 2630 may insert predetermined LLR values between the LLR values output from the multiplexers 2520 and 2621 or a head portion or an end portion thereof.

In detail, the LLR inserters 2530 and 2630 are components corresponding to the zero removers 218 and 321 and the puncturers 217 and 318 of the transmitter 100, respectively, and may perform operations corresponding to the operations of the zero removers 218 and 321 and the puncturers 217 and 318, respectively.

First, the LLR inserters 2530 and 2630 may insert LLR values corresponding to zero bits into a position where the zero bits in an LDPC codeword are padded. In this case, the LLR values corresponding to the padded zero bits, that is, the shortened zero bits may be ∞ or −∞. However, ∞ or −∞ are a theoretical value but may actually be a maximum value or a minimum value of the LLR value used in the receiver 200.

For this purpose, the receiver 200 may pre-store information about parameters and/or patterns used for the transmitter 100 to pad the zero bits according to corresponding modes. Therefore, the LLR inserters 2530 and 2630 may determine positions where the zero bits in the LDPC codewords are padded according to the corresponding modes, and insert the LLR values corresponding to the shortened zero bits into corresponding positions.

Further, the LLR inserters 2530 and 2630 may insert the LLR values corresponding to the punctured bits into the positions of the punctured bits in the LDPC codeword. In this case, the LLR values corresponding to the punctured bits may be 0.

For this purpose, the receiver 200 may pre-store information about parameters and/or patterns used for the transmitter 100 to perform puncturing according to corresponding modes. Therefore, the LLR inserters 2530 and 2630 may determine the lengths of the punctured LDPC parity bits according to the corresponding modes, and insert corresponding LLR values into the positions where the LDPC parity bits are punctured.

When the additional parity bits selected from the punctured bits among the additional parity bits, the LLR inserter 2630 may insert LLR values corresponding to the received additional parity bits, not an LLR value ‘0’ for the punctured bit, into the positions of the punctured bits.

The LLR combiners 2540 and 2640 may combine, that is, a sum the LLR values output from the LLR inserters 2530 and 2630 and the LLR value output from the multiplexer 2622. However, the LLR combiners 2540 and 2640 serve to update LLR values for specific bits into more correct values. However, the LLR values for the specific bits may also be decoded from the received LLR values without the LLR combiners 2540 and 2640, and therefore, in some cases, the LLR combiners 2540 and 2640 may be omitted.

In detail, the LLR combiner 2540 is a component corresponding to the repeater 216 of the transmitter 100, and may perform an operation corresponding to the operation of the repeater 216. Alternatively, the LLR combiner 2640 is a component corresponding to the repeater 317 and the additional parity generator 319 of the transmitter 100, and may perform operations corresponding to the operations of the repeater 317 and the additional parity generator 319.

First, the LLR combiners 2540 and 2640 may combine LLR values corresponding to the repetition bits with other LLR values. Here, the other LLR values may be bits which are a basis of generating the repetition bits by the transmitter 100, that is, LLR values for the LDPC parity bits selected as the repeated object.

That is, as described above, the transmitter 100 selects bits from the LDPC parity bits and repeats the selected bits between the LDPC information bits and the LDPC parity bits generated by LDPC encoding, and transmits the repetition bits to the receiver 200.

As a result, the LLR values for the LDPC parity bits may be formed of the LLR values for the repeated LDPC parity bits and the LLR values for the non-repeated LDPC parity bits, that is, the LDPC parity bits generated by the LDPC encoding. Therefore, the LLR combiners 2540 and 2640 may combine the LLR values for the same LDPC parity bits.

For this purpose, the receiver 200 may pre-store information about parameters used for the transmitter 100 to perform the repetition according to corresponding modes. As a result, the LLR combiners 2540 and 2640 may determine the lengths of the repeated LDPC parity bits, determine the positions of the bits which are a basis of the repetition, and combine the LLR values for the repeated LDPC parity bits with the LLR values for the LDPC parity bits which are a basis of the repetition and generated by the LDPC encoding.

For example, as illustrated in FIGS. 26 and 27, the LLR combiners 2540 and 2640 may combine LLR values for repeated LDPC parity bits with LLR values for LDPC parity bits which are a basis of the repetition and generated by the LDPC encoding.

When LPDC parity bits are repeated n times, the LLR combiners 2540 and 2640 may combine LLR values for bits at the same position at n times or less.

For example, FIG. 26 illustrates a case in which some of LDPC parity bits other than punctured bits are repeated once. In this case, the LLR combiners 2540 and 2640 may combine LLR values for the repeated LDPC parity bits with LLR values for the LDPC parity bits generated by the LDPC encoding, and then, output the combined LLR values or output the LLR values for the received repeated LDPC parity bits or the LLR values for the received LDPC parity bits generated by the LDPC encoding without combining them.

As another example, FIG. 27 illustrates a case in which some of the transmitted LDPC parity bits, which are not punctured, are repeated twice, the remaining portion is repeated once, and the punctured LDPC parity bits are repeated once.

In this case, the LLR combiners 2540 and 2640 may process the remaining portion and the punctured bits which are repeated once by the same scheme as described above. However, the LLR combiners 2540 and 2640 may process the portion repeated twice as follows. In this case, for convenience of description, one of the two portions generated by repeating some of the LDPC parity bits twice is referred to as a first portion and the other is referred to as the second portion.

In detail, the LLR combiners 2540 and 2640 may combine LLR values for each of the first and second portions with LLR values for the LDPC parity bits. Alternatively, the LLR combiners 2540 and 2640 may combine the LLR values for the first portion with the LLR values for the LDPC parity bits, combine the LLR values for the second portion with the LLR values for the LDPC parity bits, or combine the LLR values for the first portion with the LLR values for the second portion. Alternatively, the LLR combiners 2540 and 2640 may output the LLR values for the first portion, the LLR values for the second portion, the LLR values for the remaining portion, and punctured bits, without separate combination.

Further, the LLR combiner 2640 may combine LLR values corresponding to additional parity bits with other LLR values. Here, the other LLR values may be the LDPC parity bits which are a basis of the generation of the additional parity bits by the transmitter 100, that is, the LLR values for the LDPC parity bits selected for generation of the additional parity bits.

That is, as described above, the transmitter 100 may map additional parity bits for L1-detail signaling transmitted in a current frame to a previous frame and transmit the mapped bits to the receiver 200.

In this case, the additional parity bits may include LDPC parity bits which are punctured and are not transmitted in the current frame, and in some cases, may further include LDPC parity bits transmitted in the current frame.

As a result, the LLR combiner 2640 may combine LLR values for the additional parity bits received through the current frame with LLR values inserted into the positions of the punctured LDPC parity bits in the LDPC codeword received through the next frame and LLR values for the LDPC parity bits received through the next frame.

For this purpose, the receiver 200 may pre-store information about parameters and/or patterns used for the transmitter 100 to generate the additional parity bits according to corresponding modes. As a result, the LLR combiner 2640 may determine the lengths of the additional parity bits, determine the positions of the LDPC parity bits which are a basis of generation of the additional parity bits, and combine the LLR values for the additional parity bits with the LLR values for the LDPC parity bits which are a basis of generation of the additional parity bits.

The parity depermutators 2550 and 2650 may depermutate the LLR values output from the LLR combiners 2540 and 2640, respectively.

In detail, the parity depermutators 2550 and 2650 are components corresponding to the parity permutators 215 and 316 of the transmitter 100, and may perform operations corresponding to the operations of the parity permutators 215 and 316, respectively.

For this purpose, the receiver 200 may pre-store information about parameters and/or patterns used for the transmitter 100 to perform group-wise interleaving and parity interleaving according to corresponding modes. Therefore, the parity depermutators 2550 and 2650 may reversely perform the group-wise interleaving and parity interleaving operations of the parity permutators 215 and 316 on the LLR values corresponding to the LDPC codeword bits, that is, perform group-wise deinterleaving and parity deinterleaving operations to perform the parity depermutation on the LLR values corresponding to the LDPC codeword bits, respectively.

The LDPC decoders 2560 and 2660 may perform LDPC decoding based on the LLR values output from the parity depermutators 2550 and 2650, respectively.

In detail, the LDPC decoders 2560 and 2660 are components corresponding to the LDPC encoders 214 and 315 of the transmitter 100 and may perform operations corresponding to the operations of the LDPC encoders 214 and 315, respectively.

For this purpose, the receiver 200 may pre-store information about parameters used for the transmitter 100 to perform the LDPC encoding according to corresponding modes. Therefore, the LDPC decoders 2560 and may perform the LDPC decoding based on the LLR values output from the parity depermutators 2550 and 2650 according to the corresponding modes.

For example, the LDPC decoders 2560 and 2660 may perform the LDPC decoding based on the LLR values output from the parity depermutators 2550 and 2650 by iterative decoding based on a sum-product algorithm and output error-corrected bits depending on the LDPC decoding.

The zero removers 2570 and 2670 may remove zero bits from the bits output from the LDPC decoders 2560 and 2660, respectively.

In detail, the zero removers 2570 and 2670 are components corresponding to the zero padders 213 and 314 of the transmitter 100, and may perform operations corresponding to the operations of the zero padders 213 and 314, respectively.

For this purpose, the receiver 200 may pre-store information about parameters and/or patterns used for the transmitter 100 to pad the zero bits according to corresponding modes. As a result, the zero removers 2570 and 2670 may remove the zero bits padded by the zero padders 213 and 314 from the bits output from the LDPC decoders 2560 and 2660, respectively.

The BCH decoders 2580 and 2680 may perform BCH decoding on the bits output from the zero removers 2570 and 2670, respectively.

In detail, the BCH decoders 2580 and 2680 are components corresponding to the BCH encoders 212 and 313 of the transmitter 100, and may perform operations corresponding to the operations of the BCH encoders 212 and 313, respectively.

For this purpose, the receiver 200 may pre-store the information about parameters used for the transmitter 100 to perform BCH encoding. As a result, the BCH decoders 2580 and 2680 may correct errors by performing the BCH decoding on the bits output from the zero removers 2570 and 2670 and output the error-corrected bits.

The descramblers 2590 and 2690 may descramble the bits output from the BCH decoders 2580 and 2680, respectively.

In detail, the descramblers 2590 and 2690 are components corresponding to the scramblers 211 and 312 of the transmitter 100, and may perform operations corresponding to the operations of the scramblers 211 and 312.

For this purpose, the receiver 200 may pre-store information about parameters used for the transmitter 100 to perform scrambling. As a result, the descramblers 2590 and 2690 may descramble the bits output from the BCH decoders 2580 and 2680 and output them, respectively.

As a result, L1-basic signaling transmitted from the transmitter 100 may be recovered. Further, when the transmitter 100 does not perform segmentation on L1-detail signaling, the L1-detail signaling transmitted from the transmitter 100 may also be recovered.

However, when the transmitter 100 performs the segmentation on the L1-detail signaling, the desegmenter 2695 may desegment the bits output from the descrambler 2690.

In detail, the desegmenter 2695 is a component corresponding to the segmenter 311 of the transmitter 100, and may perform an operation corresponding to the operation of the segmenter 311.

For this purpose, the receiver 200 may pre-store information about parameters used for the transmitter 100 to perform the segmentation. As a result, the desegmenter 2695 may combine the bits output from the descrambler 2690, that is, the segments for the L1-detail signaling to recover the L1-detail signaling before the segmentation.

The information about the length of the L1 signaling is provided as illustrated in FIG. 28. Therefore, the receiver 200 may calculate the length of the L1-detail signaling and the length of the additional parity bits.

Referring to FIG. 28, since the L1-basic signaling provides information about L1-detail total cells, the receiver 200 needs to calculate the length of the L1-detail signaling and the lengths of the additional parity bits.

In detail, when L1B_L1_Detail_additional_parity_mode of the L1-basic signaling is not 0, since the information on the given L1B_L1_Detail_total_cells represents a total cell length (=N_(L1_detail_total_cells)), the receiver 200 may calculate the length N_(L1_detail_cells) of the L1-detail signaling and the length N_(AP_total_cells) of the additional parity bits based on following Equations 47 to 50.

$\begin{matrix} {N_{L\; 1{\_ FEC}{\_ cells}} = {\frac{N_{outer} + N_{repeat} + N_{ldpc\_ parity} - N_{punc}}{\eta_{MOD}} = \frac{N_{FEC}}{\eta_{MOD}}}} & (47) \\ {N_{L\; 1{\_{detail}}{\_ cells}} = {N_{L\; 1{D\_ FECFRAME}} \times N_{L\; 1{\_ FEC}{\_ cells}}}} & (48) \\ {N_{{{AP\_}{total}}{\_ cells}} = {N_{L\; 1{\_{detail}}{\_ total}{\_ cells}} - N_{L\; 1{\_{detail}}{\_ cells}}}} & (49) \end{matrix}$

In this case, based on above Equations 47 to 49, an N_(AP_total_cells) value may be obtained based on an N_(L1_detail_total_cells) value which may be obtained from the information about the L1B_L1_Detail_total_cells of the L1-basic signaling, N_(FEC), the M_(L1D_FECFRAME), and the modulation order η_(MOD). As an example, N_(AP_total_cells) may be calculated based on following Equation 50.

$\begin{matrix} {N_{{AP\_ total}{\_ cells}} = {N_{L\; 1{\_{detail}}{\_ total}{\_ cells}} - {N_{L\; 1{D\_ FECFRAME}} \times \frac{N_{FEC}}{\eta_{MOD}}}}} & (50) \end{matrix}$

A syntax, and field semantics of the L1-basic signaling field are as following Table 13.

TABLE 13 Syntax # of bits Format L1_Basic_signaling( ) { L1B_L1_Detail_size_bits 16 uimsbf L1B_L1_Detail_fec_type 3 uimsbf L1B_L1_Detail_additional_parity_mode 2 uimsbf L1B_L1_Detail_total_cells 19 uimsbf L1B_Reserved ? uimsbf L1B_crc 32 uimsbf {

As a result, the receiver 200 may perform an operation of a receiver for the additional parity bits in a next frame based on the additional parity bits transmitted to the N_(AP_total_cells) cell among the received L1 detail cells.

FIG. 29 is a flow chart for describing a segmentation method of a transmitter according to an exemplary embodiment.

First, information bits are segmented into a plurality of blocks based on one of a plurality of preset reference values (S2710).

Next, first parity bits are generated by encoding the plurality of blocks (S2720), and a codeword including second parity bits are generated by encoding the plurality of blocks and the first parity bits (S2730).

In operation S2710, one of the preset reference values may be determined based on at least one of a code rate and whether to perform repetition of at least a part of the codeword in the codeword.

For example, the preset reference values may include 2352, 3072 and 6312.

In operation S2710, when the code rate is 3/15 and the second parity bits are repeated, the information bits may be segmented based on 2352.

In operation S2710, when the code rate is 3/15 and the second parity bits are not repeated, the information bits may be segmented based on 3072.

In operation S2710, when the code rate is 6/15 and the second parity bits are not repeated, the information bits may be segmented based on 6312.

The detailed methods for generating additional parity bits are described above, and thus, duplicate descriptions are omitted.

A non-transitory computer readable medium in which a program performing the various methods described above are stored may be provided according to an exemplary embodiment. The non-transitory computer readable medium is not a medium that stores data therein for a while, such as a register, a cache, a memory, or the like, but means a medium that at least semi-permanently stores data therein and is readable by a device such as a microprocessor. In detail, various applications or programs described above may be stored and provided in the non-transitory computer readable medium such as a compact disk (CD), a digital versatile disk (DVD), a hard disk, a Blu-ray disk, a universal serial bus (USB), a memory card, a read only memory (ROM), or the like.

At least one of the components, elements, modules or units represented by a block as illustrated in FIGS. 1, 8, 9, 24 and 25 may be embodied as various numbers of hardware, software and/or firmware structures that execute respective functions described above, according to an exemplary embodiment. For example, at least one of these components, elements, modules or units may use a direct circuit structure, such as a memory, a processor, a logic circuit, a look-up table, etc. that may execute the respective functions through controls of one or more microprocessors or other control apparatuses. Also, at least one of these components, elements, modules or units may be specifically embodied by a module, a program, or a part of code, which contains one or more executable instructions for performing specified logic functions, and executed by one or more microprocessors or other control apparatuses. Also, at least one of these components, elements, modules or units may further include or implemented by a processor such as a central processing unit (CPU) that performs the respective functions, a microprocessor, or the like. Two or more of these components, elements, modules or units may be combined into one single component, element, module or unit which performs all operations or functions of the combined two or more components, elements, modules or units. Also, at least part of functions of at least one of these components, elements, modules or units may be performed by another of these components, elements, modules or units. Further, although a bus is not illustrated in the above block diagrams, communication between the components, elements, modules or units may be performed through the bus. Functional aspects of the above exemplary embodiments may be implemented in algorithms that execute on one or more processors. Furthermore, the components, elements, modules or units represented by a block or processing steps may employ any number of related art techniques for electronics configuration, signal processing and/or control, data processing and the like.

Although the exemplary embodiments of inventive concept have been illustrated and described hereinabove, the inventive concept is not limited to the above-mentioned exemplary embodiments, but may be variously modified by those skilled in the art to which the inventive concept pertains without departing from the scope and spirit of the inventive concept as disclosed in the accompanying claims. For example, the exemplary embodiments are described in relation with BCH encoding and decoding and LDPC encoding and decoding. However, these embodiments do not limit the inventive concept to only a particular encoding and decoding, and instead, the inventive concept may be applied to different types of encoding and decoding with necessary modifications. These modifications should also be understood to fall within the scope of the inventive concept. 

What is claimed is:
 1. A transmitting method of a transmitting apparatus which is operable in a mode among a plurality of modes to transmit a broadcast signal for television (TV) broadcasting, the transmitting method comprising: segmenting input bits into one or more blocks based on a number of the input bits and a segmentation reference value, wherein the segmentation reference value is determined based on the mode among the plurality of modes; encoding bits of the one or more blocks to generate parity bits based on a low density parity check (LDPC) code; if the mode is a first mode among the plurality of modes, performing a repetition on at least a part of the generated parity bits, and if the mode is a second mode among the plurality of modes, skipping the repetition; calculating a number of puncturing bits; puncturing one or more parity bits of the generated parity bits based on the calculated number; generating the broadcast signal for the TV broadcasting, wherein if the mode is the first mode, the broadcast signal is generated based on the input bits, the repeated parity bits and remaining parity bits after the puncturing, and if the mode is the second mode, the broadcast signal is generated based on the input bits and remaining parity bits after the puncturing; and transmitting the broadcast signal, wherein a length of a block is determined based on the segmentation reference value, wherein the block is one of the one or more blocks, wherein a first code rate of the LDPC code in the first mode and a second code rate of the LDPC code in the second mode are equal to each other, wherein a first code length of the LDPC code in the first mode and a second code length of the LDPC code in the second mode are same, and wherein a first segmentation reference value of the first mode is less than a second segmentation reference value of the second mode.
 2. The transmitting method as claimed in claim 1, wherein if the mode is the first mode, the performing performs the repetition by appending the part of the generated parity bits to the one or more blocks.
 3. The transmitting method as claimed in claim 1, wherein the first segmentation reference value is 2352 and each of the first code rate and the second code rate of the LDPC code is 3/15.
 4. The transmitting method as claimed in claim 1, wherein the second segmentation reference value is one of 3072 and 6312 and each of the first code rate and the second code rate of the LDPC code is one of 3/15 and 6/15.
 5. A receiving method of a receiving apparatus for receiving a broadcast signal for television (TV) broadcasting, the receiving apparatus operable in a mode among a plurality of modes comprising a first mode and a second mode, the receiving method comprising: receiving the broadcast signal comprising one or more blocks from a transmitting apparatus, the signal being related to a codeword which is generated based on at least a part of input bits; demodulating the broadcast signal to generate values; adding first values of the generated values to second values of the generated values in the first mode, the first values corresponding to repetition bits, and skipping the adding the first values to the second values in the second mode; and decoding the added values and remaining values of the generated values based on a low density parity check (LDPC) code in the first mode and decoding the generated values based on the LDPC code in the second mode, to generate bits, wherein the bits correspond to a block among the one or more blocks into which the input bits are segmented based on a segmentation reference value, wherein a length of the block is determined based on the segmentation reference value, wherein a first code rate of the LDPC code in the first mode and a second code rate of the LDPC code in the second mode are equal to each other, wherein a first code length of the LDPC code in the first mode and a second code length of the LDPC code in the second mode are same, and wherein a first segmentation reference value of the first mode is less than a second segmentation reference value of the second mode.
 6. The receiving method as claimed in claim 5, wherein the first segmentation reference value is 2352 and each of the first code rate and the second code rate of the LDPC code is 3/15.
 7. The receiving method as claimed in claim 5, wherein the second segmentation reference value is one of 3072 and 6312 and each of the first code rate and second code rate of the LDPC code is one of 3/15 and 6/15. 